Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Wednesday, 24 June 2015

Reverse a string without using strreverse in Vb script

Dim  MyStr, nCnt, i, RevStr

MyStr = inputbox("Enter the String:")
nCnt = Len(MyStr)

For i = 1 to nCnt
     RevStr = Mid(MyStr,i,1)&RevStr
Next

Msgbox "Reversed String is "&RevStr


OutPut:
-----------
Enter the String: UFT
Reversed String is: TFU