ios - concatenate backslash in swift -
this question has answer here:
how concatenate backslash in swift?
i.e. "some string" + "\"
escaping backslash gives me "some string\\" want "some string\"
any ideas on how accomplish this?
edit: don't want print out string, want concatenate backslash. escaping backslash store string 2 backslashes want one.
edit 2: think figured out. used "\"" , seems work me.
Comments
Post a Comment