Hi,
There is a .net builtin function available to reverse a string without any looping statements.
Try like this StrReverse(YourTestString) assign this to a new string variable
For more details refer this link Strings.StrReverse(String) Method (Microsoft.VisualBasic) | Microsoft Learn