strrchr()

Syntax
  #include <string.h>

  
  char *strrchr(const char *s, int c);

  
Description

strpbrk() searches for the last occurrence of character ch in s.

Return

NULL, if there is no such character in p; a pointer to the character otherwise.

See also

strchr(),

strcspn(),

strpbrk(), and

strspn()