VBScript StrReverse 関数

定義と使用方法

StrReverse 関数は文字列を逆転します。

構文

StrReverse(string)
引数 説明
string 必要です。逆転される必要がある文字列。

例 1

dim txt
txt="This is a beautiful day!"
document.write(StrReverse(txt))

出力:

!yad lufituaeb a si sihT