StrReverse függvény [VBA]

Fordított sorrendben adja vissza karakterláncot.

warning

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


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

Támogasson minket!