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.
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.