Sanitize the [] variable.