Reversing a string
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
Yep - an easy way - use the
StrReverse()
function. This is rom the Visual Studio 2005 help files...Dim myString As String = "ABCDEFG" Dim revString As String ' Returns "GFEDCBA" revString = StrReverse(myString)
...Steve
1. quod erat demonstrandum 2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once :-)