note 15024 added to function.substr.php
| From: | philip at cornado dot com | Date: | Fri, 24 Aug 2001 16:17:46 +0000 |
| Subject: | note 15024 added to function.substr.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17081@lists.php.net to get a copy of this message | ||
$string = 'xyz';
$a = $string{0}; // x
$b = $string{1}; // y
$c = $string{2}; // z
http://www.php.net/manual/en/function.substr.php