StrReverse Function [VBA]

Returns the string with the character order reversed.

warning

This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.


Syntaksi:


StrReverse (Text1 As String)

Paluuarvo:

String

Parametrit:

Text1: The string expression that you want to reverse the character order.

Virhekoodit:

5 Virheellinen proseduurikutsu

Esimerkki:


Sub ExampleReverse
 Print StrReverse("ABCdefGH") ' return "HGfedCBA"
End Sub

Please support us!