STRREVERSE$ function

Purpose

Reverse the contents of a string expression.

Syntax

s$ = STRREVERSE$(MainStr$)

Remarks

Reverses the contents of MainStr$ and returns the result.

See also

STRDELETE$, STRINSERT$

Example

a$ = STRREVERSE$("PowerBASIC")

Result

CISABrewoP