Use splice
In reply to Re: Removing array elements by GrandFather in thread Removing array elements by sandrider