Contents  Index  
──────────────────────────────────────────────────────────────────────────────
Remove leading and trailing spaces from a string.

LTRIM$(stringexpression$)
RTRIM$(stringexpression$)stringexpression$    Any string expression.

Example:
    a$ = "    Basic    "
    PRINT "*" + a$ + "*"            'Output is:  *    Basic    *
    PRINT "*" + LTRIM$(a$) + "*"    'Output is:  *Basic    *
    PRINT "*" + RTRIM$(a$) + "*"    'Output is:  *    Basic*
──────────────────────────────────────────────────────────────────────────────
 © Copyright Microsoft Corporation, 1987-1992. All rights reserved.
   Converted from qbasic.hlp with DosHelp/HelpConvert