NWLstrchr

Finds a character in a 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 NWLstrchr ( 
     const nstr N_FAR  *string,  
     nint               find); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWLstrchr  ( 
     str  : pnstr; 
     find : nint 
  ) : pnstr; 
  
  

Parameters

string
(IN) Points to the string to search.
find
(IN) Specifies the character for which to search (single- or double-byte).

Return Values

NULL

Character not found

non-NULL

Pointer to the character found

Remarks

NWLstrchr is case-sensitive.

See Also

NWLsetlocale, NWLstrrchr, NWLstrstr