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>remright()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
REMRIGHT()

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

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

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

Usage:      Except for a small difference, REMRIGHT() operates exactly
            like Clipper's RTRIM().  Whereas the Clipper function is only
            able to remove spaces, REMRIGHT() has the facility to
            remove any character.  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.
            ? REMLEFT("    abc    ")                    && "    abc"

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



See Also: REMALL() REMLEFT()

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