Initial Release 4.0

Function : Character Manipulation
NLS_string_chars - Returns the number of characters in a string.
----------------------------------------------------------------------------------------------------------

#include <nls.h>

NLS_STATUS LNPUBLIC NLS_string_chars(
const BYTE far *pString,
WORD NumBytes,
WORD far *pNumChars,
NLS_PINFO pInfo);

Description :

Returns the number of characters in a string, given the string's length in bytes. If a multibyte character set is in use, the number of characters in a string will likely be smaller than the number of bytes in the string.

Parameters :

See Also :

NLS_INFO
----------------------------------------------------------------------------------------------------------