Navigation:  MCL Reference > String Functions >

Left( )

Print this Topic Previous pageReturn to chapter overviewNext page

A Visual FoxPro built-in function which returns a specified number of characters from a character expression, starting with the leftmost character.

 

Syntax

Left(cExpressionnCharacters)

 

Argument

cExpression

Specifies the character expression from which Left( ) returns characters.

nCharacters

Specifies the number of characters returned from the character expression. If nCharacters is greater than the length of cExpression, all of the character expression is returned. The empty string is returned if nCharacters is negative or 0.

 

Returns

Character

 

 


Page url: http://www.racematenet.com/english/help/index.html?left.htm