string test1 = "test1/test2/ /test3"; test1 = test1.Replace(" ", ""); //remove white space test1 = test1.Replace("//", "/"); //remove additional slashes MessageBox.Show(test1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)