Thank you Joost. I am interested in the array that is left after removing/splicing out the indices (defined in @arrayindex) from @array. But, I have got an idea from your hint. Let's see. Thanks.