by ISTE (1 Submission)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 14th August 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
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
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
No comments have been posted about The code takes the string and reverses it from the beginig to the end! Very usefull for webmasters . Why not be the first to post a comment about The code takes the string and reverses it from the beginig to the end! Very usefull for webmasters .