Difference between revisions of "RIGHT()"
From Recital Documentation Wiki
		
		
		
| Yvonnemilne  (Talk | contribs) | Yvonnemilne  (Talk | contribs)  | ||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| ==Purpose== | ==Purpose== | ||
| Function to extract substring from right | Function to extract substring from right | ||
| Line 8: | Line 4: | ||
| ==Syntax== | ==Syntax== | ||
| − | RIGHT(<expC>,<expN>) | + | RIGHT(<expC> | <memofield>,<expN>) | 
| ==See Also== | ==See Also== | ||
| − | [[AT()]], [[ATNEXT()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[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> 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. | 
| Line 27: | Line 23: | ||
| ==Products== | ==Products== | ||
| − | Recital  | + | Recital, Recital Server | 
| [[Category:Documentation]] | [[Category:Documentation]] | ||
| [[Category:Functions]] | [[Category:Functions]] | ||
| [[Category:String Data]] | [[Category:String Data]] | ||
| [[Category:String Data Functions]] | [[Category:String Data Functions]] | ||
Latest revision as of 11:51, 21 July 2010
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("Recital Corporation",11) Corporation
Products
Recital, Recital Server
