Type of the character to fill the string with.
Number of characters to copy.
Character to fill the string with.
Allocator.
{ auto s = String(1, 'О'); assert(s.length == 2); } { auto s = String(3, 'О'); assert(s.length == 6); } { auto s = String(8, 'О'); assert(s.length == 16); }
Fills the string with n consecutive copies of character chr.