Difference between revisions of "RIGHT()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to extract substring from right
 
Function to extract substring from right
 
  
 
==Syntax==
 
==Syntax==
 
RIGHT(<expC> | <memofield>,<expN>)
 
RIGHT(<expC> | <memofield>,<expN>)
 
  
 
==See Also==
 
==See Also==
 
[[AT()]], [[ATNEXT()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[SET STRESCAPE]], [[STR()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]]
 
[[AT()]], [[ATNEXT()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[SET STRESCAPE]], [[STR()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]]
 
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 20: Line 16:
 
Corporation
 
Corporation
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==

Revision as of 10:24, 12 December 2012

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 Corporation",11)
Corporation

Products

Lianja, Lianja Server