Static string extension that allows creating a repeated string.
var zeros = String.repeat("0",100);
String.repeat(chr,count)
Return Value
Repeated string
Parameters
chr
The character or string to repeat
count
The number of times to repeat the string
See also:
Class String