Swift - Remove " character from string

前端 未结 0 1875
心在旅途
心在旅途 2020-12-23 02:59

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         


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