note 37542 deleted from function.strrpos by nlopess
| From: | nlopess@php.net | Date: | Wed, 13 Jul 2005 14:58:01 +0000 |
| Subject: | note 37542 deleted from function.strrpos by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91900@lists.php.net to get a copy of this message | ||
Note Submitter: dalroi
----
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.