Tech Tips, Visual Basic, Web Development/Programming

Reversing a String in VB.net

The following code snippet shows how easy it is to reverse a string in Vb.net:

Dim originalString As String = "Some text here"
Dim reversedString As String = originalString.Reverse.ToArray
'reversedString now equals "ereh txet emoS"

As you can see, this is very easy to do, however, most of the examples I found online were overly complicated. So, I thought I’d post my nice easy way.  Happy coding!