Funzione StrReverse VBScript
Definizione e uso
La funzione StrReverse può invertire una stringa.
Sintassi
StrReverse(string)
Parametro | Descrizione |
---|---|
string | Obbligatorio. La stringa da invertire. |
Esempio
Esempio 1
dim txt txt="This is a beautiful day!" document.write(StrReverse(txt))
Output:
!yad lufituaeb a si sihT