On Sunday, 17 May 2015 at 09:06:40 UTC, Dennis Ritchie 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]

It's uncomfortable:
-----
char[][] s = [['f', 'o', 'o'], ['b', 'a', 'r']];
s[1][1] = 't';

Reply via email to