DIP 1027---String Interpolation---Community Review Round 1
Atila Neves
atila.neves at gmail.com
Mon Dec 16 13:22:45 UTC 2019
On Monday, 16 December 2019 at 10:48:51 UTC, aliak wrote:
> On Monday, 16 December 2019 at 01:35:51 UTC, Walter Bright
> wrote:
>> On 12/15/2019 2:17 AM, Aliak wrote:
>>> To use it people will need to understand how to use d tuples
>>> as well.
>>
>> No, they don't.
>
> User: why can't I do this?/Why doesn't this work?
>
> string s = i"$var";
>
> Answer?
import std.format: format;
string s = format(i"$var");
More information about the Digitalmars-d
mailing list