let a = "\\你好\\你好\\你好\\你好"
let abc = a.stringByReplacingOccurrencesOfString("\\",withString: "")
println(abc)
OK
原文链接:https://www.f2er.com/swift/325715.htmllet a = "\\你好\\你好\\你好\\你好"
let abc = a.stringByReplacingOccurrencesOfString("\\",withString: "")
println(abc)
OK
原文链接:https://www.f2er.com/swift/325715.html