I have an array containing a number of strings. I have used contains() (see below) to check if a certain string exists in the array however I would like to chec
let itemsArray = ["Google", "Goodbye", "Go", "Hello"]
let searchString = "Googled"
let result = itemsArray.contains(where: searchString.contains)
print(result) //prints true in the above case.