# Insert item into array at certain index?

**URL:** <https://forum.kirupa.com/t/insert-item-into-array-at-certain-index/327579>\
**Category:** Uncategorized\
**Created:** [March 11, 2012, 4:20am UTC](https://forum.kirupa.com/t/insert-item-into-array-at-certain-index/327579 "2012-03-11T04:20:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeekTweak\_0](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Post date:** [March 11, 2012, 4:20am UTC](https://forum.kirupa.com/t/insert-item-into-array-at-certain-index/327579/1 "2012-03-11T04:20:50Z")

</div>

i see that theres the array.push and array.unshift, but thats just the beginning and the end of the array. how would i go about inserting an item(s) into an array at the desired index?

thanks in advance.
