Difference between revisions of "LEFT()"
From Lianjapedia
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[AT()]], [[ATNEXT()]], [[INLIST()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[SET STRESCAPE]], [[STR()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]] | + | [[AT()]], [[AT_C()]], [[ATNEXT()]], [[CHRTRAN()]], [[CHRTRANC()]], [[INLIST()]], [[LEFTC()]], [[LEN()]], [[LENC()]], [[OCCURS()]], [[RAT()]], [[RAT_C()]], [[RIGHT()]], [[RIGHTC()]], [[SET STRESCAPE]], [[STR()]], [[STREXTRACT()]], [[STRLEN()]], [[STRTRAN()]], [[STUFF()]], [[STUFFC()]], [[SUBSTR()]], [[SUBSTRC()]] |
==Description== | ==Description== | ||
Line 16: | Line 16: | ||
Chris | Chris | ||
</code> | </code> | ||
− | |||
Latest revision as of 07:00, 15 September 2014
Contents
Purpose
Function to extract substring from left
Syntax
LEFT(<expC> | <memofield>, <expN>)
See Also
AT(), AT_C(), ATNEXT(), CHRTRAN(), CHRTRANC(), INLIST(), LEFTC(), LEN(), LENC(), OCCURS(), RAT(), RAT_C(), RIGHT(), RIGHTC(), SET STRESCAPE, STR(), STREXTRACT(), STRLEN(), STRTRAN(), STUFF(), STUFFC(), SUBSTR(), SUBSTRC()
Description
The LEFT() function extracts a substring from the left of the character expression <expC> or memo <memofield> of width <expN> characters wide. The LEFT() function can be used on character fields in index expressions to extract part of the field in the index key.
Example
? left("Christopher",5) Chris