On Wednesday, 3 September 2014 at 19:43:26 UTC, Nordlöw wrote:
Is there a simpler way to way to

s ~= repeat('*', n).array.to!string;

if s has to be of type string?

Does this work?

s ~= "*".replicate(n);

Reply via email to