On Wednesday, 3 September 2014 at 19:43:26 UTC, Nordlöw wrote:
Is there a simpler way to way tos ~= repeat('*', n).array.to!string; if s has to be of type string?
Does this work? s ~= "*".replicate(n);
On Wednesday, 3 September 2014 at 19:43:26 UTC, Nordlöw wrote:
Is there a simpler way to way tos ~= repeat('*', n).array.to!string; if s has to be of type string?
Does this work? s ~= "*".replicate(n);