Table of Contents
Previous topic Next topic
C LIBRARY FUNCTIONS->Detailed Descriptions->strrchr()
|char *strrchr(const char* string,char c);||Find last occurrence of c in string|
|c||Character searched for|
This function searches string for the last 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 the last occurrence of character c in string or NULL if the character is not found.