How do I create a string consisting of a specified character repeated a
specified number of times?
Something like
String.Fill('x' , 10) to create "xxxxxxxxxx "
The best I see would be some hack using PadLeft() or (probably better) some
method written from scratch.
specified number of times?
Something like
String.Fill('x' , 10) to create "xxxxxxxxxx "
The best I see would be some hack using PadLeft() or (probably better) some
method written from scratch.
Comment