B
Brett Romero
I have a string with the following XML and need to remove all of the
back slashes
"<ROOT><Person PersonId=\"56102\" /><Person PersonId=\"56104\"
/><Person PersonId=\"71266\" /></ROOT>"
I use
string newstring = cleanXML.Replace(@"\", "");
or
string newstring = cleanXML.Replace("\\", "");
But the back slashes remain. What is needed to remove them?
Thanks,
Brett
back slashes
"<ROOT><Person PersonId=\"56102\" /><Person PersonId=\"56104\"
/><Person PersonId=\"71266\" /></ROOT>"
I use
string newstring = cleanXML.Replace(@"\", "");
or
string newstring = cleanXML.Replace("\\", "");
But the back slashes remain. What is needed to remove them?
Thanks,
Brett