It depends. Are there any other requirements that you are going to dribble out?
I would not use the approach I gave if I wanted to save what was removed. I would probably use splice instead. Additional requirements may change that answer.
--MidLifeXis
In reply to Re^3: array pop
by MidLifeXis
in thread array pop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |