LEFT()

From Lianjapedia
Revision as of 09:26, 21 July 2010 by Yvonnemilne (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to extract substring from left


Syntax

LEFT(<expC> | <memofield>, <expN>)


See Also

AT(), ATNEXT(), INLIST(), OCCURS(), RAT(), RIGHT(), SET STRESCAPE, STR(), STREXTRACT(), STRTRAN(), STUFF(), SUBSTR()


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


Products

Recital Server, Recital