JavaScript Editor js editor     Web development 



Main Page

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

REPLICATE(cExpression, nTimes)

Parameters

cExpression


Specifies the character expression that is replicated.
nTimes


Specifies the number of times the character expression is replicated.

Return Value

Character

Remarks

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

Example

В Copy Code
CLEAR
? REPLICATE('HELLO ',4) && Displays HELLO HELLO HELLO HELLO

See Also



JavaScript Editor js editor     Web development