in reply to Re: Removing certain lines from array
in thread Removing certain lines from array
Iterating over the array in reverse will avoid the problem of the loop indices needing adjustment after an element is deleted.
Update: You changed the script while I was replying. Your description doesn't match now, although I suspect it will in a moment. ;o)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Removing certain lines from array
by VGavara (Novice) on Jul 30, 2013 at 12:33 UTC |