Difference between revisions of "RIGHT()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=RIGHT()=
 
 
 
 
==Class==
 
==Class==
 
String Data
 
String Data
Line 33: Line 30:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:String Data]]
 +
[[Category:String Data Functions]]

Revision as of 15:47, 2 June 2009

Class

String Data


Purpose

Function to extract substring from right


Syntax

RIGHT(<expC>,<expN>)


See Also

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


Description

The RIGHT() function extracts a substring from the right of the character expression <expC> 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("Recital Corporation",11)
Corporation


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer