Use the arrays .Remove() method is the easiest. Regular arrays do not have an easy way of adding or removing objects. In order to remove an object from an array is to rebuild the array without the object.
$number = 7
"$number has been removed from `$array"