C# replace tab


string strWithTabs = "here is a string with a tab";

// tab-character
char tab = '\u0009';
String line = strWithTabs.Replace(tab.ToString(), " ");