strchr function — Searches a string for a character
const char* strchr(const char* s, int c) char* strchr( char* s, int c)
The strchr
function returns
a pointer to the first occurrence of c
(converted to unsigned
char
) in the null-terminated string
s
. If c
does not appear in s
, a null pointer is returned.
memchr function, strcspn function, strpbrk function, strrchr function, strspn function, wcschr
in <cwchar>