Is there no easy way to remove a specific element from an array, if it is equal to a given string? The workarounds are to find the index of the element of the array you wish
var ra = ["a", "ab", "abc", "a", "ab"] print(ra) // [["a", "ab", "abc", "a", "ab"] ra.removeAll(where: { $0 == "a" }) print(ra) // ["ab", "abc", "ab"]