|
|
#include <string.h>char *strpbrk(const char *str1, const char *str2);
The strpbrk( ) function returns a pointer to the first character in the string pointed to by str1 that matches any character in the string pointed to by str2. The null terminators are not included. If there are no matches, a null pointer is returned.
Related functions are strspn( ), strrchr( ), strstr( ), and strtok( ).
|
|