Building a string from n chars

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 3 12:43:25 PDT 2014


Is there a simpler way to way to

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

if s has to be of type string?


More information about the Digitalmars-d-learn mailing list