c:string:strpbrk

C++ Reference

strpbrk

Syntax:

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

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

Related Topics: (C++ Algorithms) find_first_of, strchr, strcspn, strrchr, strspn, strstr, strtok