Returns the text string with the characters reversed (String).

stringThe text string (String).

* If "string" = "" (zero length string), then a zero length string is returned.
* If "string" is Null, then an error occurs.
* You can use the STR function to return a text string of a number.
* You can use the STRING function to return a repeating character of a given length.
* You can use the STRREVERSE$ to return a String data type instead of a Variant/String data type.
* The equivalent .NET function is Microsoft.VisualBasic.Strings.StrReverse
* For the Microsoft documentation refer to

Debug.Print StrReverse("abcdef") ' "fedcba"  
Debug.Print StrReverse("ABABAB") ' "BABABA"
Debug.Print StrReverse("123456") ' "654321"
Debug.Print StrReverse(6) ' "wolfrevO"

© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited Top