Hi,

I am searching how to do a formatted string like with sprintf()

I have found std.format.formattedWrite() but when I try :

Appender!(string) msg;
formattedWrite(msg, "toto: %0", 42);
writeln(msg);

It fails with :
core.exception.rangeer...@�(1582): Range violation

I have also found std.string.format, but it seems to fail also.

Reply via email to