Navigation:  MCL Reference > String Functions >

Right( )

Print this Topic Previous pageReturn to chapter overviewNext page

A Visual FoxPro built-in function which returns the specified number of rightmost characters from a character string.

 

Syntax

Right(cExpression,nCharacters)

 

Argument

cExpression

Specifies the character expression whose rightmost characters are returned.

nCharacters

Specifies the number of characters returned from the character expression. Right( ) returns the entire character expression if nCharacters is greater than the length of cExpression. Right( ) returns an empty string if nCharacters is negative or 0.

 

Returns

Character

 

 


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