STRREVERSE(string)

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


stringThe text string (String).

REMARKS
* If "string" = "" (zero length string), then a zero length string is returned.
* If "string" is Null, then an error occurs.
* This function was added in Office 2000.
* You can use the STR function to return a text string of a number.
* The equivalent .NET function is Microsoft.VisualBasic.Strings.StrReverse
* For the Microsoft documentation refer to docs.microsoft.com

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

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