strpbrk()

Syntax
  #include <string.h>
  
  char *strpbrk(const char *p, const char *q);

  
Description

strpbrk() searches for the first character in p that also appears in q.

Return

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

See also

strchr()

strcspn()

strrchr()

strspn()