i've seen solutions objective-c not swift. i'm new ios development, appreciated
i want remove " string:
let test:nsstring = jsondata.valueforkey("test") as! nsstring
the method stringbyreplacingoccurrencesofstring(_:withstring) trick:
let mystring = "\"test\"" let noquotes = mystring.stringbyreplacingoccurrencesofstring( "\"", withstring: "" )
Comments
Post a Comment