Method: StrReverse for VBS
- Updated2024-09-12
- 1 minute(s) read
Methods > Method: StrReverse for VBS
Method: StrReverse for VBS
Reverses the character sequence in a text.
vStrReverse = Object.StrReverse(string1)
| Object | VBS Object with this method. You do not need to specify this object. |
| string1 | Variant Specifies a text. |
| vStrReverse | Variant Receives the text reversed sequence. |
The following example reverses the text DIAdem:
Dim MyString MyString = StrReverse("DIAdem") Call MsgBox(MyString) ' Returns "medAID"