LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

_mbspbrk

_mbspbrk

char *_mbspbrk (const char stringToSearch[], const char characterSet[]);

Purpose

Locates the first occurrence in a string of any character from the specified character set. If a match is found, the function returns a pointer to that character in 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 string that is searched for characters from characterSet.
characterSet const char [] Contains a pointer to the character set containing the characters that are searched for in the specified string.

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

Was this information helpful?

Previous

_mbsrchr

Previous

_mbsrchr