How to find and remove a value from an array

If you are working with an array and you need to remove an item from the array, here is how to do it:


The second storeEval command finds the index value of the item in the array. This is helpful if you dont know what the index value is since the items may have been loaded into the array in a random order. The last storeEval command removes the item from the array by the index value from the second storeEval command.