swift string contains array of strings code example
Example: swift check if string contains string
let string = "hello Swift"
if string.contains("Swift") {
print("exists")
}
let string = "hello Swift"
if string.contains("Swift") {
print("exists")
}