strrchr Subroutine

string strrchr(const char *s, char c)

strrchr returns a pointer to the last occurrence of the character c in the string s. If no match is found, strrchr returns 0. This function does not work with wide or multi-byte characters.