- Home
·
- String Manipulation
·
- The code takes the string and reverses it from the beginig to the end! Very usefull for webmasters
The code takes the string and reverses it from the beginig to the end! Very usefull for webmasters
The code takes the string and reverses it from the beginig to the end! Very usefull for webmasters that create multylanguage sites supports
API Declarations
2)Add two textbox and set there MULTYLINE property to TRUE (leave the names as is)
3)Add CommandButton (leave the name as is)
4)Set TEXT2 (textbox) LOCKED property to true.
5)Add this code to form declarations part:
Dim str, Rstr As String
Dim s As String * 1
Rate The code takes the string and reverses it from the beginig to the end! Very usefull for webmasters
(1(1 Vote))
Dim x As Integer
Rstr = ""
str = Text1.text
For x = Len(str) To 1 Step -1
s = Mid(str, x, 1)
Rstr = Rstr & s
Next x
Text2.Text = Rstr
End Sub
The code takes the string and reverses it from the beginig to the end! Very usefull for webmasters Comments
No comments yet — be the first to post one!
Post a Comment