On Sat, May 02, 2020 at 02:22:42AM +0000, dan via Digitalmars-d-learn wrote:
> I'm looking for a function something like writeln or write, but instead of
> writing to stdout, it writes to a string and returns the string.
[...]

        import std.format : format;
        string str = format("%s %s %s", obj1, obj2, obj3);


T

-- 
Once bitten, twice cry...

Reply via email to