note 74184 deleted from function.strrpos by bobby

From: Date: Thu, 29 Mar 2007 05:22:22 +0000
Subject: note 74184 deleted from function.strrpos by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124904@lists.php.net to get a copy of this message
Note Submitter: nutbar at innocent dot com ---- Just a quick note for those using this function - the returned number if a match is found is the index from the *beginning* of your string. That is to say, that although the function searches beginning at the end of your string, it returns an index counting from the beginning of your string. strrpos('0123456789', '7') returns 7, it does not return 2.

« previous php.notes (#124904) next »