On Sun, 17 May 2015 09:06:38 +0000 Dennis Ritchie via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> Hi, > It seems to me, or D do not create mutable array of strings? > > How to create a mutable equivalent of a string array? > > ----- > string[] s = ["foo", "bar"]; > // s[1][1] = 't'; // immutable expression s[1][1] auto s = ["foo".dup, "bar".dup];