StrReverse Function [VBA]

Returns the string with the character order reversed.

Figyelmeztetés ikon

Ez a függvény vagy konstans a modul végrehajtható programkódja elé írt Option VBASupport 1 utasítással engedélyezett.


Szintaxis:

StrReverse (Text1 As String)

Visszatérési érték:

String

Paraméterek:

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

Hibakódok:

5 Érvénytelen eljáráshívás

Példa:

Sub ExampleReverse

 Print StrReverse("ABCdefGH") ' return "HGfedCBA"

End Sub