Scan a string for the last occurrence of a character
LPSTR strrchr( LPCSTR lpcszStr, int cc )
Returns a pointer to the last occurrence of a character in a string.
EX1
void strrchr_ex1() { char str1[] = "I saw 3 blind mice"; char* pdest = strrchr(str1,'i'); if(pdest) printf("find the occurrence place \"%s\"\n" , pdest); // output ice else printf("scan failed \n"); }
strpbrk
origin.h