How to create a mutable array of strings?

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 17 02:49:54 PDT 2015


On Sunday, 17 May 2015 at 09:37:56 UTC, Daniel Kozak wrote:
> So maybe this one would be ok with you too :)
>
> auto s = to!(char[][])(["foo", "bar"]);

Now it works :)


More information about the Digitalmars-d-learn mailing list