[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 REMRIGHT()
 Removes particular characters at the end of a string
------------------------------------------------------------------------------
 Syntax

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

 Arguments

     <cString>  Designates the string that is processed.

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

 Returns

     REMRIGHT() returns the modified <cString>.

 Description

     REMRIGHT() functions exactly like CA-Clipper's RTRIM(), with one
     exception.  While the CA-Clipper function can only remove spaces,
     REMRIGHT() 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:

        ? REMRIGHT("   abc   ")         // "   abc"

     .  Remove the character ".":

        ? REMRIGHT("..abc..", ".")      // "..abc"


See Also: REMALL() REMLEFT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson