How to remove an element of a given value from an array in Swift February 15, 2023 by Tarik A filter: let farray = arr.filter {$0 != "b"}