const char * strrchr_P

const char * strrchr_P(const char *, int __val)

The strrchr_P() function returns a pointer to the last occurrence of the character val in the flash string s.

Remember:

The strrchr_P() function returns a pointer to the matched character or NULL if the character is not found.