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>remleft()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 REMLEFT()
 Removes particular characters from the beginning of a string
------------------------------------------------------------------------------
 Syntax

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

 Arguments

     <cString>  Designates the string that is processed.

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

 Returns

     REMLEFT() returns the modified <cString>.

 Description

     REMLEFT() functions exactly like CA-Clipper's LTRIM(), with one
     exception.  While the CA-Clipper function can only remove spaces,
     REMLEFT() can remove any character you choose.  The character that is
     removed can be specified with the <cCharacter|nCharacter> parameter.

 Note

     .  When the <cCharacter|nCharacter> parameter is not specified,
        spaces are removed.

 Examples

     .  Remove the spaces:

        ? REMLEFT("   123   ")            // "123   "

     .  Remove the character ".":

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


See Also: REMALL() REMRIGHT()

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