NWLstrrchr

Locates the last occurrence of 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 NWLstrrchr ( 
     const nstr N_FAR  *string,  
     nint               find); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWLstrrchr 
    (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

The string parameter is NULL or no match is found

non-NULL

Pointer to the character specified by the find parameter (indicates a match is found)

Remarks

NWLstrrchr searches backwards for the character specified in the find parameter.

See Also

NWLsetlocale, NWLstrchr