[Previous] [Contents] [Index] [Next]

mbstrnichr()

Search for a multibyte character in part of a string, ignoring case

Synopsis:

char *mbstrnichr( char const *string,
                  char const *mbchar,
                  int num,
                  int *count );

Library:

ph

Description:

The mbstrnichr() 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.

Returns:

A pointer to the beginning of the matching character within string, or NULL if no match is found within num characters.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

mbstrchr(), mbstrichr(), mbstrnchr(), mbstrrchr(), mbstrirchr()

Unicode Multilingual Support in the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]