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

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

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

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

Usage:      JUSTLEFT() is used to move the character denoted by
            <expC2> from the beginning of a string to the end.  The
            remaining text will thereby be aligned with the left-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
            ? JUSTLEFT("   123")                && "123   "

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



See Also: JUSTRIGHT()

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