Table of Contents
Previous topic Next topic
C COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->strpbrk()
char *strpbrk(const char* string1,const char* string2);
This function finds the first occurrence in string1 of any character in string2. The search does not include the null terminating character.
The function returns a pointer to the first character in string1 that is also in string2. A NULL return value indicates that the two strings have no characters in common.