STRREVERSE                                                        Function

STRREVERSE(string)

Description

STRREVERSE returns a string created by reversing the character order of another string. The required argument, string, is any valid string expression.

Example

REM STRREVERSE Example

'STRREVERSE reverses characters in a string

DIM Show

Show = "Terrence and Phillip"

PRINT "Forwards: " & Show

PRINT "Reverse: " & STRREVERSE(Show)

Output

Forwards: Terrence and Phillip

Reverse: pillihP dna ecnerreT

Related Items