String.lastIndexOf
lastIndexOf($substring, $offset = 0)
Description
Find the position of a substring, starting at the end of the string.
'one fish two fish'.lastIndexOf('fish'); //= 13
'one fish two fish'.lastIndexOf('fish'); //= 13