www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - String interpolation

reply Guillaume Piolat <first.last gmail.com> writes:
Is there a fancy way to have some kind of string interpolation in 
D?
Jan 06
next sibling parent cym13 <cpicard openmailbox.org> writes:
On Wednesday, 6 January 2016 at 23:30:22 UTC, Guillaume Piolat 
wrote:
 Is there a fancy way to have some kind of string interpolation 
 in D?
Other than std.format.format that is?
Jan 06
prev sibling parent reply Meta <jared771 gmail.com> writes:
On Wednesday, 6 January 2016 at 23:30:22 UTC, Guillaume Piolat 
wrote:
 Is there a fancy way to have some kind of string interpolation 
 in D?
This is probably the best you're going to be able to do in D in regards to string interpolation. https://github.com/Abscissa/scriptlike#string-interpolation
Jan 06
parent Guillaume Piolat <first.last gmail.com> writes:
On Thursday, 7 January 2016 at 00:24:38 UTC, Meta wrote:
 On Wednesday, 6 January 2016 at 23:30:22 UTC, Guillaume Piolat 
 wrote:
 Is there a fancy way to have some kind of string interpolation 
 in D?
This is probably the best you're going to be able to do in D in regards to string interpolation. https://github.com/Abscissa/scriptlike#string-interpolation
Looks good.
Jan 07