in reply to Re: Re: Re: Re: walking an array and unshifting
in thread walking an array and unshifting

Now that you've explained what you want to do...

Take a look at splice. shift and pop remove values from the ends of an array, not the current position.

  • Comment on Re: Re: Re: Re: Re: walking an array and unshifting