[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|              RIGHT              |
+---------------------------------+
RIGHT(<expC>, <expN>)

-----------------------------------
Returns rightmost characters from character expression.
Return value - Character
-----------------------------------

RIGHT() returns the rightmost characters from a character expression.
Characters are returned from the last character on the right and
continues for a specified number of characters.

<expC>
        Characters are returned by RIGHT() from the character expression
specified by <expC>.

<expN>
        The number of characters returned from the character expression is
specified by <expN>.  If <expN> is greater than the length of <expC>,
all of the character expression is returned.  If <expN> is less than or
equal to 0, the null string is returned.

+---------------------------------+
|             Example             |
+---------------------------------+
? RIGHT('Perrysburg, OH',2)

-----------------------------------

See Also:  AT(), LEFT(), LTRIM(), RAT(), RTRIM(), SUBSTR(), TRIM()

-----------------------------------

See Also: AT() LEFT() LTRIM() RAT() RTRIM() SUBSTR() TRIM()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson