VBScript StrReverse 函數(shù)
定義和用法
StrReverse 函數(shù)可反轉(zhuǎn)一個(gè)字符串。
語法
StrReverse(string)
參數(shù) | 描述 |
---|---|
string | 必需的。需被反轉(zhuǎn)的字符串。 |
實(shí)例
例子 1
dim txt txt="This is a beautiful day!" document.write(StrReverse(txt))
輸出:
!yad lufituaeb a si sihT
上一篇: VBScript IsNumeric 函數(shù) 下一篇: VBScript TypeName 函數(shù)