Reverse a string in Visual Basic 6.0

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 5.00 out of 5)

This will Reverse a string value using VB 6.0


Text1.Text = StrReverse(“String”)

2 thoughts on “Reverse a string in Visual Basic 6.0

  1. Jason Post author

    Hi, thats what this snippet was for.

    But .NET can support it as well. Its under the Microsoft.VisualBasic.Strings class.

    Public Function StrReverse(ByVal Expression As String) As String
    Member of: Microsoft.VisualBasic.Strings

    That function will work with .NET. 🙂



Leave a Reply