I have an array in the following format
var persons : [[String]] = []
let blah : [String] = [title, firstName, lastName, address1, town, postCode]
persons.append(blah)
Which gives output like :
[
["Mr", "Joe", "Bloggs", "999 Letsbe Avenue", "Townsville", "TS12 9UY"],
["Mr", "Peter", "Smith", "999 Underavest", "CityVille", "OP19 1IK"]
]
I want to do a search to find the first occurrence of "Smith" but I'm stumped on how to do it.
Any help please?

structorclassto model yourPerson. At that point, the search becomes as easy and readable aspeople.first(where: { $0.lastName == "Smith })