Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>justleft()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 JUSTLEFT()
 Moves characters from the beginning to the end of a string
------------------------------------------------------------------------------
 Syntax

     JUSTLEFT(<cString>,[<cCharacter|nCharacter>])
        --> cString

 Arguments

     <cString>  [@]  Designates the string that is processed.

     <cCharacter|nCharacter>  Designates the character that is moved from
     the beginning of the <cString> to the end.  The default value is a
     space, CHR(32).

 Returns

     The processed <cString> is returned.

 Description

     JUSTLEFT() moves the characters specified in <cCharacter|nCharacter>
     from the beginning of a character string to the end.  Then the remaining
     text in the character string is left justified, without affecting the
     length.

 Notes

     .  If the <cCharacter|nCharacter> parameter is not specified,
        spaces are automatically moved.

     .  The return value for this function can be suppressed by
        implementing CSETREF() to save room in working memory.

 Examples

     .  Move the blanks:

        ? JUSTLEFT("   123")              // "123   "

     .  Move the "." character:

        ? JUSTLEFT("..123"," ".)          // "123.."


See Also: JUSTRIGHT() CSETREF() Introduction

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