Intel® Fortran Compiler 17.0 Developer Guide and Reference
NLS Function: Returns the length, in bytes, of the first character in a multibyte-character string.
USE IFNLS
result = MBCharLen (string)
string |
(Input) Character*(*). String containing the character whose length is to be determined. Can contain multibyte characters. |
The result type is INTEGER(4). The result is the number of bytes in the first character contained in string. The function returns 0 if string has no characters (is length 0).
MBCharLen does not test for multibyte character validity.