Swift - Remove " character from string

前端 未结 0 1089
时光取名叫无心
时光取名叫无心 2020-12-23 02:56

I have a string which is \"Optional(\"5\")\". I need to remove the \"\" surrounding the 5. I have removed the \'Optional\' by doing:

text2 = text2.stringBy         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题