インテル® Fortran コンパイラー XE 13.1 ユーザー・リファレンス・ガイド

MBLen (W*S)

NLS Function: Returns the number of characters in a multibyte-character string, including trailing blanks.

Module

USE IFNLS

result = MBLen (string)

string

(Input) CHARACTER*(*). String whose characters are to be counted. Can contain multibyte characters.

Results

The result type is INTEGER(4). The result is the number of characters in string.

MBLen recognizes multibyte-character sequences according to the multibyte codepage currently in use. It does not test for multibyte-character validity.

関連情報


このヘルプトピックについてのフィードバックを送信