strrstr

fnstring strrstr(string haystack, string needle) nothrow

Searches the string haystack for the last occurrence of the string needle.

Parameters

haystacka string to search in
needlethe string to search for

Returns

a pointer to the found occurrence, or NULL if not found