Difference between revisions of "RIGHT()"
From Recital Documentation Wiki
		
		
		
| Yvonnemilne  (Talk | contribs) | Yvonnemilne  (Talk | contribs)  | ||
| Line 8: | Line 8: | ||
| ==Syntax== | ==Syntax== | ||
| − | RIGHT(<expC>,<expN>) | + | RIGHT(<expC> | <memofield>,<expN>) | 
| Line 16: | Line 16: | ||
| ==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. | 
Revision as of 11:40, 23 October 2009
Class
String Data
Purpose
Function to extract substring from right
Syntax
RIGHT(<expC> | <memofield>,<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> 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 Database Server, Recital Mirage Server, Recital Terminal Developer
