in reply to How do I completely remove an element from an array?

You can use any of the following operators:
pop()
shift()
splice()
pop() and shift() will operate at the end and the beginning of an array respectively. splice() allows you to operate on an element somewhere in the middle..

Originally posted as a Categorized Answer.

  • Comment on Re: How do I completely remove an element from an array?