strrchr

C/C++ Reference

strrchr
Syntax:
  #include <cstring>
  char *strrchr( const char *str, int ch );

The function strrchr() returns a pointer to the last occurrence of ch in str, or NULL if no match is found.

Related topics: