in reply to Remove array elements dynamically!

At the expense of more memory, use a hash? The index is the key, value is the original value

-QM
--
Quantum Mechanics: The dreams stuff is made of