note 11270 deleted from function.strrchr by sander
| From: | sander@php.net | Date: | Sun, 12 May 2002 15:50:53 +0000 |
| Subject: | note 11270 deleted from function.strrchr by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-30536@lists.php.net to get a copy of this message | ||
a couple of not-so-clean-examples:
--
-- returns "55" :
$string1 = "a55";
$string2 = "5";
$dump = strchr($string1, $string2);
echo "::::", $dump;
-----
-- returns "55a"
$string1 = "a55a";
$string2 = "5";
$dump = strchr($string1, $string2);
echo "::::", $dump;