strchr [C++ Reference]
Keywords: c,string,strchr
Date: 2008-10-14T15:42:02-0700

[[strchr]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## 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

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •