Searches a string for the first occurrence of any character in the specified character set.
#include <string.h> char *strpbrk (const char *string1, const char *string2); wchar_t wcspbrk(const wchar_t *string1, const wchar_t *string2);
string1
string2
The terminating null character is not included in the search.
wcspbrk is a wide-character verion of strpbrk.
string1
and string2
have no characters in common.
tchar.h routine |
_UNICODE not defined |
_UNICODE defined |
---|---|---|
_tcspbrk | strpbrk | wcspbrk |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 INtime 6.0 (for wide-character and generic text versions) |
intime/rt/include/string.h intime/rt/include/wchar.h intime/rt/include/tchar.h |
string.h wchar.h tchar.h |
clib.lib |