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.
char str1 = "I saw 3 blind mice";
char* pdest = strrchr(str1,'i');
printf("find the occurrence place \"%s\"\n" , pdest); // output ice
printf("scan failed \n");