strrstr

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

string
strrstr
(
string haystack
,
string needle
)

Parameters

haystack string

a string to search in

needle string

the string to search for

Return Value

Type: string

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