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
Try it like this:
Replace("\\\"","");
This will replace occurrences of \" with empty string.
\"
Ex:
string t = "\\\"the dog is my friend\\\""; t = t.Replace("\\\"","");
This will result in:
the dog is my friend