grapheme_strrposFind position (in grapheme units) of last occurrence of a string DescriptionProcedural style
int grapheme_strrpos
( string
$haystack
, string $needle
[, int $offset = 0
] )Find position (in grapheme units) of last occurrence of a string Parameters
Return ValuesReturns the position as an integer. If needle is not found, grapheme_strrpos() will return boolean FALSE. ExamplesExample #1 grapheme_strrpos example
<?php The above example will output: 2 See Also
|