"FrankLike"  wrote in message news:[email protected]...

But do you have some better way for remove item ?
such as c#: array.remove(item) ,array.removeAt(index)?

There is http://dlang.org/phobos/std_algorithm.html#.remove which can be used like removeAt(index).

array = array.remove(3);

And it looks like there's an overload that can remove matching elements like this:

array = array.remove!(e => e == value);

Reply via email to