strrpos

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

説明

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

戻り値

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