c:string:strchr

C++ Reference

strchr

Syntax:

    #include <cstring>
    char *strchr( const char *str, int ch );

The function strchr() returns a pointer to the first occurence of ch in str, or NULL if ch is not found.

Related Topics: strcat, strcmp, strcpy, strlen, strncat, strncmp, strncpy, strpbrk, strspn, strstr, strtok