Next code format a string and prints it.
But I want the formatted string stored in a string
//Decimal place separator %,
writefln!"%,s"(123456789);
//123,456,789
May 21, 2021 Formatted output not on screen but in a string | ||||
---|---|---|---|---|
| ||||
Next code format a string and prints it.
|
May 21, 2021 Re: Formatted output not on screen but in a string | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Friday, 21 May 2021 at 22:37:34 UTC, Alain De Vos wrote: >Next code format a string and prints it.
std.format.format |