RIGHT()

From Lianjapedia
Revision as of 13:05, 19 May 2014 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to extract substring from right

Syntax

RIGHT(<expC> | <memofield>,<expN>)

See Also

AT(), ATNEXT(), INLIST(), LEFT(), OCCURS(), RAT(), SET STRESCAPE, STR(), STREXTRACT(), STRTRAN(), STUFF(), SUBSTR()

Description

The RIGHT() function extracts a substring from the right of the character expression <expC> or memo <memofield> of width <expN> characters. This function can be used on character fields in index expressions to extract part of the field in the index key.

Example

? right("Lianja Inc",3)
Inc

Products

Lianja, Lianja Server