note 15024 modified in function.substr.php by philip
| From: | philip@php.net | Date: | Fri, 24 Aug 2001 16:34:53 +0000 |
| Subject: | note 15024 modified in function.substr.php by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17082@lists.php.net to get a copy of this message | ||
$string = 'xyz';
$a = $string{0}; // x
$a = $string{1}; // y
$a = $string{2}; // z
http://www.php.net/manual/en/function.substr.php.php