VBScript StrReverse Function
Definition and Usage
The StrReverse function can reverse a string.
Syntax
StrReverse(string)
Parameter | Description |
---|---|
string | Required. The string to be reversed. |
Instance
Example 1
dim txt txt="This is a beautiful day!" document.write(StrReverse(txt))
Output:
!yad lufituaeb a si sihT