This function returns the supplied string in reverse order.
Example
PRINT REV$("Hello World")
shows dlroW olleH
CROSS-REFERENCE
LEN finds the length of a string. TRIM$ cuts off excess spaces from a string.