Difference between revisions of "RIGHT()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
m (Text replace - "Recital" to "Lianja")
Line 17: Line 17:
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
? right("Recital Corporation",11)
+
? right("Lianja Corporation",11)
 
Corporation
 
Corporation
 
</code>
 
</code>
Line 23: Line 23:
  
 
==Products==
 
==Products==
Recital, Recital Server
+
Lianja, Lianja Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:String Data]]
 
[[Category:String Data]]
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]

Revision as of 06:39, 8 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