Actually i'm new person for swift, this is my first project with swift.i have a problem faced that i cant compare the values with contains(),this is my code -- var str = "Dear"
if addstatus.contains(str) {
print("yes")
} else {
print("no")
}
For this code it suggest a error ,pls find the screenshot
Anyone can help me,thanks in advance :|
