c# replace \" characters

后端 未结 6 1467
隐瞒了意图╮
隐瞒了意图╮ 2020-12-29 20:39

I am sent an XML string that I\'m trying to parse via an XmlReader and I\'m trying to strip out the \\\" characters.

I\'ve tried

.Repla         


        
6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-29 21:28

    Where do these characters occur? Do you see them if you examine the XML data in, say, notepad? Or do you see them when examining the XML data in the debugger. If it is the latter, they are only escape characters for the " characters, and so part of the actual XML data.

提交回复
热议问题