how to check i a string contains any string from a list swift 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")
}