note 64291 added to function.strchr
| From: | learning at php | Date: | Tue, 11 Apr 2006 19:45:44 +0000 |
| Subject: | note 64291 added to function.strchr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107794@lists.php.net to get a copy of this message | ||
regarding : message from 02-Oct-2005 09:01
my php only does so with strrchr()
$haystack = "test.this.txt";
$result1 = strstr($haystack, ".");
$result2 = strrchr($haystack, ".");
will result in
.this.txt
.txt
----
Server IP: 192.35.244.50
Probable Submitter: 85.124.49.161
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.strchr.php
Edit -- http://master.php.net/note/edit/64291
Del: integrated -- http://master.php.net/note/delete/64291/integrated
Del: useless -- http://master.php.net/note/delete/64291/useless
Del: bad code -- http://master.php.net/note/delete/64291/bad+code
Del: spam -- http://master.php.net/note/delete/64291/spam
Del: non-english -- http://master.php.net/note/delete/64291/non-english
Del: in docs -- http://master.php.net/note/delete/64291/in+docs
Del: other reasons-- http://master.php.net/note/delete/64291
Reject -- http://master.php.net/note/reject/64291
Search -- http://master.php.net/manage/user-notes.php