note 17104 added to function.strchr
| From: | zuzuyogi at hotmail dot com | Date: | Mon, 26 Nov 2001 17:46:26 +0000 |
| Subject: | note 17104 added to function.strchr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21290@lists.php.net to get a copy of this message | ||
So to build on a previous ex. I could use this to find an extension name? --
-- returns "php" :
$string1 = "thefile.php";
$string2 = ".";
$dump = strchr($string1, $string2);
echo "::::", $dump;
--
http://www.php.net/manual/en/function.strchr.php
http://master.php.net/manage/user-notes.php?action=edit+17104
http://master.php.net/manage/user-notes.php?action=delete+17104
http://master.php.net/manage/user-notes.php?action=reject+17104