# Removing items in middle of array & shifting down

**URL:** <https://forum.kirupa.com/t/removing-items-in-middle-of-array-shifting-down/243011>\
**Category:** Uncategorized\
**Created:** [November 1, 2007, 6:05pm UTC](https://forum.kirupa.com/t/removing-items-in-middle-of-array-shifting-down/243011 "2007-11-01T18:05:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![absolutezero342](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@absolutezero342](https://forum.kirupa.com/u/absolutezero342)\
**Post date:** [November 1, 2007, 6:05pm UTC](https://forum.kirupa.com/t/removing-items-in-middle-of-array-shifting-down/243011/1 "2007-11-01T18:05:02Z")

</div>

what’s the best way to do take out items from the middle of the array and shift all items above the deleted item down one?  
let’s say I have 10 items in an array, index range 0-9, and I take item 5 (array index 4) out, and then I want to shift items in range 5-9 down to range 4-8, leaving me with 9 items left. what’s the easiest way to do this in AS3?
