NWLstrpbrk

Locates the first occurrence in a specified string of given characters from another string

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform Localization (LOC*.*)
Service:Internationalization

Syntax

  #include <time.h> or #define NWL_EXCLUDE_TIME 
  #include <stdio.h> or #define NWL_EXCLUDE_FILE 
  #include <nwlocale.h> 
   
  pnstr N_API NWLstrpbrk  ( 
     pnstr              string1,  
     const nstr N_FAR  *string2); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWLstrpbrk 
    (string1       : pnstr; 
     const string2 : pnstr 
  ) : pnstr; 
  
  

Parameters

string1
(IN) Points to the string to search.
string2
(IN) Points to the list of characters to search for in the string1 parameter.

Return Values

NULL

No characters from the string2 parameter are in the string1 parameter

non-NULL

Pointer to the first matching character (indicates characters from the string2 parameter are in the string1 parameter)

Remarks

NWLstrpbrk is sensitive to double-byte characters if the locale includes double-byte characters.

See Also

NWLsetlocale, NWLstrcspn, NWLstrspn