QNX Developer Support
|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Search for a UTF-8 character in part of a string, ignoring case
char *utf8strnichr( char const *string, char const *mbchar, int num, int *count );
- A pointer to the string to search.
- The character to look for.
- The maximum number of characters to search in the string.
- A pointer to the location where utf8strnichr() stores the number of UTF-8 characters the matching character is from the start of the search.
The utf8strnichr() function searches for a character in string that matches mbchar, regardless of case. If such a match occurs within num characters in string, 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, or NULL if no match is found within num characters.
Unicode Multilingual Support in the Photon Programmer's Guide