Swift проверяет, есть ли строка содержит строку

let string = "hello Swift"
if string.contains("Swift") {
    print("exists")
}
Mobile Star