strpbrk

C/C++ Reference

strpbrk
Syntax:
  #include <cstring>
  char* strpbrk( const char* str1, const char* str2 );

The function strpbrk() returns a pointer to the first ocurrence in str1 of any character in str2, or NULL if no such characters are present.

Related topics: