string concatenation with %s
Justin Whear via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jan 7 08:45:13 PST 2015
On Wed, 07 Jan 2015 16:38:23 +0000, Suliman wrote:
> I except that writefln have some behavior as string concatenation, but
> it does not.
>
> IS there any way to put needed values in place of %s in string?
std.string.format interpolates string with the same behavior as writefln
but returns the resulting string instead of printing it.
More information about the Digitalmars-d-learn
mailing list