$strrstr(x,y) Last Occurrence of String X in String Y

See also this thread:

which claims the opposite.
So the only conclusion is: there are differences.
And to rule out solutions that rely on one of the differences, it is very advisable to post in the correct forum section.