Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

StringLen()

  • Last UpdatedOct 08, 2024
  • 1 minute read

文字列内の文字の数を返します。

カテゴリ

文字列

構文

IntegerResult = StringLen( Text );

パラメータ

テキスト

実際の文字列または文字列属性。

備考

空白スペースや通常は画面に表示されない文字を含め、文字列属性内のすべての文字がカウントされます。

StringLen("Twelve percent") ' 戻り値 14;

StringLen("12%") ' 戻り値 3;

+StringChar(13))は9を返します。

キャリッジ リターン文字は ASCII 13 です。

次もご確認ください。

StringASCII()

StringChar()

StringFromIntg()

StringFromReal()関数

StringFromTime()関数StringFromTime()

StringInString()関数StringInString()

StringLeft()

StringLower()

StringMid()

</StringReplace>

StringRight()

StringSpace()

StringTest()

StringToIntg()

StringToReal()

StringTrim()

StringUpper()

Text()

In This Topic
Related Links