LEFTC()
From Lianjapedia
Contents
Purpose
Function to extract substring from left (double byte character sets)
Syntax
LEFTC(<expC> | <memofield>, <expN>)
See Also
AT(), AT_C(), ATNEXT(), CHRTRAN(), CHRTRANC(), INLIST(), LEFT(), LEN(), LENC(), OCCURS(), RAT(), RAT_C(), RIGHT(), RIGHTC(), SET STRESCAPE, STR(), STREXTRACT(), STRLEN(), STRTRAN(), STUFF(), STUFFC(), SUBSTR(), SUBSTRC()
Description
The LEFTC() function extracts a substring from the left of the character expression <expC> or memo <memofield> of width <expN> characters wide. The LEFTC() function can be used on character fields in index expressions to extract part of the field in the index key.
Example
cDBleft5 = leftc(cDBString,5)