digitalmars.D.learn - Formatted output not on screen but in a string
- Alain De Vos (7/7) May 21 2021 Next code format a string and prints it.
- Adam D. Ruppe (2/9) May 21 2021 std.format.format
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
On Friday, 21 May 2021 at 22:37:34 UTC, Alain De Vos wrote: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 ```std.format.format
May 21 2021