Visible to Intel only — GUID: GUID-F512A2C6-C814-4BAE-BD44-50C0D02C4E05
Visible to Intel only — GUID: GUID-F512A2C6-C814-4BAE-BD44-50C0D02C4E05
MBLen_Trim
NLS Function: Returns the number of characters in a multibyte-character string, not including trailing blanks. This routine is only available for Windows.
USE IFNLS
result = MBLen_Trim (string)
string |
(Input) Character*(*). Is the string whose characters are to be counted. It can contain multibyte characters. |
The result type is INTEGER(4). The result is the number of characters in string minus any trailing blanks (blanks are bytes containing character 32 (hex 20) in the ASCII collating sequence).
MBLen_Trim recognizes multibyte-character sequences according to the multibyte codepage currently in use. It does not test for multibyte-character validity.