VBScript StrReverse 函數

StrReverse 函數反轉一個字串。
語法
StrReverse(string)
參數 | 描述 |
---|---|
string | 必需。需被反轉的字串。 |
實例 1
Dim txt
txt="This is a beautiful day!"
document.write(StrReverse(txt))
Output:
!yad lufituaeb a si sihT
txt="This is a beautiful day!"
document.write(StrReverse(txt))
Output:
!yad lufituaeb a si sihT
