strrpos

Example

 int strrpos ( string $haystack , string $needle [, int $offset = 0 ] ) 

Description

Returns the numeric position of the last occurrence of needle in the haystack string.

Return Values

Returns the position where the needle exists. Returns FALSE if the needle was not found.