devxlogo

StrReverse – A replacement for the VB6’s StrReverse function under VB4 and VB5

StrReverse – A replacement for the VB6’s StrReverse function under VB4 and VB5

' A replacement for the StrReverse function for VB4 and VB5Function StrReverse(ByVal Text As String) As String    Dim length As Long, index As Long        length = Len(Text)    StrReverse = Space$(length)    For index = 1 To length        Mid$(StrReverse, length + 1 - index, 1) = Mid$(Text, index, 1)    Next    End Function

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist