You might try the format() function instead:

http://dpldocs.info/std.string.format

Though, I don't think it does thousands grouping, so it might not
work for you.

If you need C's sprintf, make sure the strings are zero terminated
and that you're passing pointers to them:

char[10] buffer;

sprintf(buffer.ptr, toStringz(formatString), args...);

Reply via email to