.. _rev-dlr: REV$ ==== +----------+-------------------------------------------------------------------+ | Syntax | REV$ (string$) | +----------+-------------------------------------------------------------------+ | Location | REV | +----------+-------------------------------------------------------------------+ This function returns the supplied string in reverse order. **Example** :: PRINT REV$("Hello World") shows dlroW olleH **CROSS-REFERENCE** :ref:`len` finds the length of a string. :ref:`trim-dlr` cuts off excess spaces from a string.