On Wednesday, 3 September 2014 at 20:46:40 UTC, monarch_dodra wrote:
Is there a simpler way to way to

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

if s has to be of type string?

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

Should be enough. Why the "to!string"?

You're correct. The

    .to!string

was unnecessary.

Reply via email to