NWLmbslen

Returns the number of characters (not bytes) in a specified 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 <nwlocale.h> 
   
  N_EXTERN_LIBRARY (size_t) NWLmbslen ( 
     const nuint8  *string); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWLmbslen 
    (string : const
  ) : size_t; 
  
  

Parameters

string
(IN) Points to a NULL-terminated string.

Return Values

Returns the number of characters in the string.

Remarks

The string may consist of both single- and double-byte characters.

See Also

NWLmblen, NWstrlen