String.repeat

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

© West Wind Technologies, 1996-2016 • Updated: 03/18/08
Comment or report problem with topic