I am trying to find double quote characters in a swift String type with the following code:
for char in string {
if char == "\"" {
debugPrint("I have found a double quote")
}
}
The if statement never catches the double quote in the string.
I am using Xcode 7.3.1
Any suggestions of comments?
Aucun commentaire:
Enregistrer un commentaire