Saturday, September 21, 2013

Remove Double Quotes From String

To Strip double Quotes from string use following code

Lets say s is out string
string newstr = string.Empty
s = s.Replace("""", "");
OR
string newstr = string.Empty
s = s.Replace("\"", "");

Submit this story to DotNetKicks

Read more...