note 19029 deleted from function.substr by aidan
| From: | aidan@php.net | Date: | Sat, 03 Jul 2004 07:56:18 +0000 |
| Subject: | note 19029 deleted from function.substr by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72392@lists.php.net to get a copy of this message | ||
Note Submitter: twalsh@NOSPAMgoldshielddirect.com
----
An alternate option for retrieving the first, second, etc character of a string is:
$string[0] //for the first character in $string
$string[1] //for the second
and so on...