Returns a character string that contains a specified character expression repeated a specified number of times.
- Specifies the character expression that is replicated.
- Specifies the number of times the character expression is replicated.
In Visual FoxPro, the maximum length of the resulting character string is restricted by the amount of available memory.
CLEAR ? REPLICATE('HELLO ',4) && Displays HELLO HELLO HELLO HELLO