Reverse this string

raskew

AWF VIP
Local time
Today, 11:58
Joined
Jun 2, 2001
Messages
2,734
Reverse this string:

"boB -- sehsiw tseB .eman ym esrever neve naC ?look I t'niA .sdrawkcab ffuts lleps nac I .em ta kool ,woW"
 
Last edited:
"Wow, look at me. I can spell stuff backwards. Ain't I kool? Can even reverse my name. Best wishes -- Bob"
 
Private Sub RevString()

Dim intLen As Integer
Dim strBuild As String
Dim txtString As String
Dim i As Integer
Dim x As Integer

txtString = "This is a string."

intLen = Len(txtString)
x = intLen

For i = 1 To intLen

strBuild = strBuild & Mid(txtString, x, 1)
x = x - 1

Next i

Debug.Print strBuild

End Sub
 
haha...yeah I should have counted backwards there eh?

Just wanted to quickly put in a smartass reply here though :P
 
?sdrawkcab eman ruoy lleps ot look s'ti yhw su ot nialpxe ebyam dna ereh ni-emihc ot tnaw ,namliaM
 
Last edited:

Users who are viewing this thread

Back
Top Bottom