THE WORLD'S LARGEST WEB DEVELOPER SITE

VBScript StrReverse Function


❮ Complete VBScript Reference

The StrReverse function reverses a string.

Syntax

StrReverse(string)

Parameter Description
string Required. The string to be reversed

Example 1

Dim txt
txt="This is a beautiful day!"
response.write(StrReverse(txt))

Output:

!yad lufituaeb a si sihT

❮ Complete VBScript Reference