Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>remall()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
REMALL()

Syntax:     REMALL(<expC1>[,<expC2>])

Arguments:  <expC1> is the string to be processed.
            <expC2> defines the character to be removed from the
            beginning and the end of <expC1>.

Returns:    A character string.
            The processed <expC1> string.

Usage:      Except for a small difference, REMALL() operates exactly the
            same as Clipper's ALLTRIM().  Whereas the Clipper function
            is only able to remove spaces, REMALL() has the facility to
            remove any characters.  The character to be removed is
            denoted by the <expC2> argument.

Notes:      Spaces will automatically be removed in the absence of the
            <expC2> argument.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * Removing spaces.
            ? REMALL("  1  2  3  ")                     && " 1 2 3 "

            * Removing the "0" character.
            ? REMALL("007007   ","0")                   && "7007   "



See Also: REMLEFT() REMRIGHT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson