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


  Last Updated: 3/18/2008 | © West Wind Technologies, 2008