Finds and removes a value from an array. Will remove all instances unless a maximum is specified.
The number of times the value was found and removed.
Finds and removes a value from an array. Will remove all instances unless a maximum is specified.