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

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

 Arguments

     <cString>  Designates the string that is processed.

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

 Returns

     REMALL() returns the modified <cString>.

 Description

     REMALL() functions exactly like CA-Clipper's ALLTRIM(), with one
     exception.  While the CA-Clipper function can only remove spaces,
     REMALL() 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,
        saces are removed.

 Examples

     .  Remove the spaces:

        ? REMALL("  1  2  3  ")         // "1  2  3"

     .  Remove the character "0":

        ? REMALL("007007   ", "0")      // "7007   "


See Also: REMLEFT() REMRIGHT()

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