Bagaimana cara memeriksa apakah string berisi string lain di Swift
let string = "hello Swift"
if string.contains("Swift") {
print("exists")
}
Mobile Star
let string = "hello Swift"
if string.contains("Swift") {
print("exists")
}