Hello,

How do I delete multiple elements from collection (array) at once?

I'd like to do that by index.

For example, I want to delete elements with indexes 1, 2, 3 and 4.

If I delete element at index 1, all elements and their indexes will be shifted. That's the problem. I need to delete the elements in compact index section, like: 1,2,3,4 or 7,8,9,10.


Thank you in advance

Goran