This story is unavailable.

#3 Verify if Exists in a String

For Swift 3.x we can also use the following

let status = Array (Set (tweet. _split(separator:” “))
.intersection(Set(words)))
.count > 0
print(status)
Like what you read? Give Sauvik Dolui a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.