C++ Programming/Code/Standard C Library/Functions/strchr
Appearance
strchr
[edit | edit source]Syntax |
#include <cstring>
char *strchr( const char *str, int ch );
|
The function strchr() returns a pointer to the first occurrence of ch in str, or NULL if ch is not found.