Search backwards for a UTF-8 character in a string, ignoring case
char *utf8strirchr( char const *string_base, char const *start_char, char const *mbchar, int *count );
- A pointer to the beginning of the string to search.
- A pointer to the character in the string from which to search.
- The character to look for.
- A pointer to the location where utf8strirchr() stores the number of characters spanned to find mbchar.
The utf8strirchr() function searches backwards from start_char to string_base, inclusive, for a character that matches mbchar, regardless of case. If such a match occurs, count (if provided) is set to the number of characters spanned to find the match.
A pointer to the beginning of the matching character within string_base, or NULL if no match is found.
Unicode Multilingual Support in the Photon Programmer's Guide