Comment puis-je vérifier si une chaîne contient une autre chaîne dans Swift

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