I am reading from a file, and some of the data is comming in like this
"\"ZIP\""
so when i try to assign it its causing errors, i want to get rid off the extra \", so if I assign it to as string like
string s = data[1].ToString();
what s is "\"ZIP\""
i just want it to be “ZIP”, i tried:
string s = data[1].ToString().replace("\\\"","");
but no luck. Any help would be much appreciated.
just try:
Or: