Peter Sommerfeld:

Cannot find a reference: What is the best way
to catenate a string multiple times ?


import std.array;

void main() {
    string tab = "..";
    tab = tab.replicate(4);
}


Unfortunately this this does not work ;-)

D has vector ops, so I guess it's better to not add that.

Bye,
bearophile

Reply via email to