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

Syntax:     JUSTRIGHT([@]<expC1>[,<expC2>])

Arguments:  <expC1> is the string to be processed.
            <expC2> contains the character which has to be moved from
            the end to the beginning of the <expC1> string.

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

Usage:      JUSTRIGHT() is used to move the character denoted by
            <expC2> from the end of the string to the beginnig.  The
            remaining text will thereby be aligned with the right-hand edge
            of the string (justified), without changing the length of the
            string.

Notes:      If no <expC2> is passed, spaces are assumed.

Library:    CT1.LIB


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

Examples:   * Shifting spaces
            ? JUSTRIGHT("123   ")                && "   123"

            * Shifting the "." character.
            ? JUSTRIGHT("123..",".")             && "..123"



See Also: JUSTLEFT()

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