ฟังก์ชั่น 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
อ้างอิง VBScript สมบูรณ์