The state of string interpolation

Dennis dkorpel at gmail.com
Thu Dec 6 22:57:03 UTC 2018


On Thursday, 6 December 2018 at 22:54:54 UTC, o wrote:
> Prints "Tuple!(string, string)("my name is ", "Jeff")", not "My 
> my name is Jeff".

You're converting the tuple object to a string and passing that 
string as a single argument to writeln. Try:
```
writeln(tuple("my name is ", name).expand);
```


More information about the Digitalmars-d mailing list