Hi,
first why doesn't
StrReverse( ) work for you?
for example:
TextBox1.Text = StrReverse(TextBox1.Text)
This is a loop that does the same as StrReverse
Dim strToReverse As String
strToReverse = TextBox1.Text
TextBox1.Text = ""
For i As Integer = strToReverse.Length To 1 Step -1
TextBox1.Text &= Mid(strToReverse, i, 1)
Next
hth Greetz Peter
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning.
"minguskhan" <mi********@discussions.microsoft.com> schreef in bericht
news:6F**********************************@microsof t.com...
Does anyone know how to reverse a string using a loop?