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() 関数に渡すと、文字列全体が返されます。