public static string RemoveQuotes(string text) { text = text.Trim(); if(text.StartsWith("\"")){ text = text.Substring(1); } if(text.EndsWith("\"")){ text = text.Substring(0,text.Length - 1); } return text; }