Lstrpbrk

Scans a string for characters specified in a character set.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <string.h> 
   
  char *Lstrpbrk (
     const char   *str,   
     const char   *charset);
  

Parameters

str

(IN) Point to the string to scan.

charset

(IN) Points to characters to locate.

Return Values

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

Remarks

The Lstrpbrk function is a double-byte character interface. It locates the first occurrence in the string pointed to by str of any character from the string pointed to by charset.

See Also