# Deleting from an array

**URL:** <https://forum.kirupa.com/t/deleting-from-an-array/173721>\
**Category:** Uncategorized\
**Created:** [December 28, 2005, 11:57pm UTC](https://forum.kirupa.com/t/deleting-from-an-array/173721 "2005-12-28T23:57:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ineedsleep](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Post date:** [December 28, 2005, 11:57pm UTC](https://forum.kirupa.com/t/deleting-from-an-array/173721/1 "2005-12-28T23:57:52Z")

</div>

what do you use to delete a single object from an array?

I have a random number and that random number needs to be deleted from the array

Ive tried the splice but it doesnt work how I want it too or I prob not using it how Im nmeant to

could any one please help
