Reversing a String by StrReverse function in ASP

We can reverse a string by using ASP built in function StrReverse(). This function takes a string and print the output from reverse side of the string. Here is the syntax of the function.
my_string=StrReverse(my_string)
Here my_string is the string variable


Here is the simple code for string reversal.
Dim my_string
my_string="Welcome to Plus2net.com"
Response.Write "Before String Reverse = " & my_string 
my_string=StrReverse(my_string)
Response.Write "<br>After String Reversal  = " & my_string
The output of the above code is here
Before String Reverse = Welcome to Plus2net.com
After String Reversal = moc.ten2sulP ot emocleW

ASP Home

plus2net.com





We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
©2000-2025   plus2net.com   All rights reserved worldwide Privacy Policy Disclaimer