REPLICATE()
Repeats a single character expression
Syntax
REPLICATE( <cString>, <nSize> ) --> cReplicateString
Arguments
<cString> Character string to be replicated
<nSize> Number of times to replicate <cString>
Returns
<cReplicateString> A character expression contain the <cString> fill character.
Description
This function returns a string composed of <nSize> repetitions of <cString>. The length of the character string returned by this function is limited to the memory available.
A value of 0 for <nSize> will return a NULL string.
Examples
? REPLICATE( "a", 10 ) // aaaaaaaaaa ? REPLICATE( "b", 100000 )
Tests
See Examples
Compliance
Clipper
Platforms
All (64K)
Files
Library is rtl
Seealso
SPACE(), PADC(), PADL(), PADR()
Pingback: Harbour All Functions – R | Viva Clipper !
Pingback: Harbour String Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !