Page 1 of 1
Reverse text?
Posted: Mon Aug 30, 2010 9:42 pm
by zachman61
in textbox1 say the text is codenstuff.com i want it to convert in textbox2 to com.ffutsnedoc?
i think this part would be easy but also i want to have it so it will litterally flip the text
Re: Reverse text?
Posted: Mon Aug 30, 2010 10:00 pm
by Agust1337
Hello Zach here's what you'll need to do is to
create a button called bntflip and double click it and put this code:
textbox2 can be label or anything
Code: Select all Dim strOrgText As String
Dim strRevText As [Char]()
Dim array As Array
strOrgText = Me.TextBox1.Text
strRevText = strOrgText.ToCharArray
array.Reverse(strRevText)
Me.TextBox2.Text = strRevText
Re: Reverse text?
Posted: Mon Aug 30, 2010 10:03 pm
by zachman61
thanks
and thanked