Function Replicate() Foundation
Replicates a character string a specified number of times.
Replicate( <cString>, <nCount> )--> cReplicate
Replicate() returns a character string having the length <nCount>multiplied by Len(<cString>). <cString> is included <nCount> times in the return value. The length of the return value is not limited in Xbase++. When <nCount> has the value zero, a null string ("") is returned.
The character function Replicate() creates a character string in which a character or a character string is repeated. It is suitable for display of multiple copies of a single character or to write a specific set of characters repeatedly in the keyboard buffer. It is also used in the creation of PICTURE format clauses. Replicate(Chr(32),10) provides the same result as Space(10).
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.