Difference between revisions of "LEFT()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to extract substring from left
 
Function to extract substring from left
 
  
 
==Syntax==
 
==Syntax==
 
LEFT(<expC> | <memofield>, <expN>)
 
LEFT(<expC> | <memofield>, <expN>)
 
  
 
==See Also==
 
==See Also==
 
[[AT()]], [[ATNEXT()]], [[INLIST()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[SET STRESCAPE]], [[STR()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]]
 
[[AT()]], [[ATNEXT()]], [[INLIST()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[SET STRESCAPE]], [[STR()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]]
 
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 22: Line 18:
  
  
==Products==
+
 
Recital Server, Recital
+
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:String Data]]
 
[[Category:String Data]]
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]

Revision as of 12:12, 7 December 2012

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