wcspbrk

Scans a wide-character string for characters specified in a character set.

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

  #include <wchar.h> 
   
  wchar_t  *wcspbrk (
     const wchar_t    *ws,
     const wchar_t    *charset);
  

Parameters

ws

(IN) Point to the wide-character string to scan.

charset

(IN) Points to wide characters to locate.

Return Values

Returns a pointer to the first occurrence in ws of any character in the charset parameter. Returns a NULL pointer if no characters specified in the charset parameter occur in the string pointed to by the ws parameter.

Remarks

The wcspbrk function locates the first occurrence in the string pointed to by ws of any character from the string pointed to by charset.

See Also