I have a collection of strings within a checkListBox and I convert this collection into a List<string>
. During this conversion I can only imagine the strings are escaped due to them being in the below format:
<category title="FOO">
This then becomes
"<category title=\"FOO\">
I need to unescape these strings for comparison, and I've tried something like
s.Replace(@"\""", @""""); <-------- trying to replace all \" with "
Is this even possible? And if so what's the correct way of removing slashes from quotes in a string?