On Friday, 16 August 2024 at 11:37:08 UTC, Nick Treleaven wrote:
On Friday, 16 August 2024 at 06:15:18 UTC, Bruce wrote:
```d
string s = a.dup; // copy to heap, assuming you need the data to escape (use a[] otherwise)
s.writeln();
```

I think you meant `idup`? `dup` will make it mutable.

Reply via email to