VBScript StrReverse function
May 13, 2021
VBScript
Table of contents
VBScript
StrReverse
function
The VBScript StrReverse function returns a string in reverse order to the specified string.
Complete VBScript reference manual
The StrReverse function reverses a string.
Grammar
parameter
|
describe
|
string
|
Required.A string that needs to be reversed.
|
Instance 1
Dim txt
txt="This is a beautiful day!"
document.write(StrReverse(txt))
Output:
!yad lufituaeb a si sihT
Complete VBScript reference manual