_mbschr
char *_mbschr (const char stringToSearch[], int charToFind);
Purpose
Locates the first occurrence of the specified character in a string. The terminating ASCII NUL byte is considered to be part of the string.
Refer to the Programming for Multibyte Character Sets in LabWindows/CVI topic for information about working with multibyte character sets.
Parameters
| Input | ||
| Name | Type | Description |
| stringToSearch | const char [] | Contains a pointer to the null-terminated string which is searched to locate the specified character. |
| charToFind | int | Contains the character for which to search in the specified string. The input to this parameter can be any valid character, including multibyte characters. |
Return Value
| Name | Type | Description |
| matchedChar | char * | Contains a pointer to the located character or a NULL pointer if the character does not occur in the string. |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 6.0 and later