On 03/16/2013 10:39 AM, 1100110 wrote:
On 03/16/2013 10:29 AM, Peter Sommerfeld wrote:
Cannot find a reference: What is the best way
to catenate a string multiple times ?
Unfortunately this this does not work ;-)

string tab = "..";
tab = tab * 4; // -> "........"

Peter


foreach(0..4)
write("...");

or
str = str ~ "...";

I shoulda proofread that.

Reply via email to