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 );
ph
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.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
utf8strchr(), utf8strichr(), utf8strnchr(), utf8strnichr(), utf8strrchr()
Unicode Multilingual Support in the Photon Programmer's Guide