Table of Contents
Previous topic Next topic
C COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->strchr()
|char *strchr(const char* string,char c);||Find first occurrence of c in string|
|c||Character searched for|
This function searches string for the first occurrence of character c. The character may be the null character ('\0') - the terminating null character of string is included in the search.
Pointer to first occurrence of character c in string or NULL if the character is not found.