Ifrst
| From: | jtjohnston | Date: | Tue, 05 Mar 2002 05:23:37 +0000 |
| Subject: | Ifrst | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87223@lists.php.net to get a copy of this message | ||
Is this over kill? Is there a "better" way? I have an array.
I want to display all occurences of strings that start with "a" or "A".
http://www.php.net/manual/en/function.substr.php
$rest = substr($mystring, 0, 1); // returns "a"
?