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

AVEVA™ InTouch HMI

StringRight() 関数

  • Last UpdatedFeb 05, 2018
  • 1 minute read

文字列の末尾から指定した文字数を返します。

構文

result = StringRight (string, length)

パラメータ

string

リテラル テキスト、メッセージ型タグ変数、または文字列式です。

length

返す文字数です。リテラル数、アナログ型タグ変数、または数式です。

StringRight("Hello World",5) は "World" を返します。

StringRight("Hello World",20) は "Hello World" を返します。

StringRight("Hello World",0) は "Hello World" を返します。

注意:長さ 0 を StringRight() 関数に渡すと、文字列全体が返されます。

In This Topic