Initial Release 4.0

Function : Character Manipulation
NLS_string_bytes - Returns the number of bytes in a string.
----------------------------------------------------------------------------------------------------------

#include <nls.h>

NLS_STATUS LNPUBLIC NLS_string_bytes(
const BYTE far *pString,
WORD NumChars,
WORD far *pNumBytes,
NLS_PINFO pInfo);

Description :

Returns the number of bytes in a string. If a multibyte character set is in use, the number of bytes in a string will likely be larger than the number of characters in a string.

Parameters :

See Also :

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