standard.C.string.strpbrk

strpbrk is available since version 1.0.

Prototype:

string strpbrk(string string, string strCharSet)

Parameters

string
Null-terminated, searched string
strCharSet
Null-terminated character set

Description:

Scan strings for characters in specified character sets. The search does not include the terminating null character.

Return value:

Rreturns a string starting from the first occurrence of any character from strCharSet in string, or an empty string if the two string arguments have no characters in common.