note 37542 added to function.strrpos
| From: | dalroi at rn2 dot php dot net | Date: | Wed, 19 Nov 2003 10:11:17 +0000 |
| Subject: | note 37542 added to function.strrpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60613@lists.php.net to get a copy of this message | ||
The documentation doesn't tell, but strrpos returns an index counted from the left of the
string, not from the right. That may save you testing for it, even though it's sort of obvious.
----
Manual Page -- http://www.php.net/manual/en/function.strrpos.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37542
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37542&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37542&report=yes
Search -- http://master.php.net/manage/user-notes.php