REPLICATE( ) Function

Example   See Also

Returns a character string that contains a specified character expression repeated a specified number of times.

Syntax

REPLICATE(cExpression, nTimes)

Returns

Character

Arguments

cExpression

Specifies the character expression that is replicated.

nTimes

Specifies the number of times the character expression is replicated.

Remarks

In Visual FoxPro, the maximum length of the resulting character string is restricted by the amount of available memory.