|
|
String repeat. Returns a string composed of repeated occurrences
of a source string.
strrpt (source count)
strrpt:str (source:str count:u32)
- source
The source string to repeat.
- count
The number of times to repeat source.
$nmdebug > var digits:str "0123456789"
$nmdebug > wl strrpt(digits, 7)
0123456789012345678901234567890123456789012345678901234567890123456789
Print out the string of digits "0 .. 9" repeated seven times.
If the resultant string is larger than the maximum supported string length (see
the STRMAX function), it is truncated at the maximum length.
|