SyntaxFix
Write A Post
Hire A Developer
Questions
Check if it contains 'Hello'
let s = "Hello World" if s.rangeOfString("Hello") != nil { print("Yes it contains 'Hello'") }