Discussion Thread: DIP 1036--Formatted String Tuple Literals--Community Review Round 1

Steven Schveighoffer schveiguy at gmail.com
Thu Sep 10 18:46:23 UTC 2020


On 9/10/20 2:30 PM, zoujiaqing wrote:
> Please support like this:
> 
> int i = 10;
> 
> string b = "test " ~ i;
> 
> writeln(b); // test 10

string b = i"test $i".idup;

-Steve


More information about the Digitalmars-d mailing list