I want to convert the string: transport service "abc" to transport service \"abc\" in c#, what command should I use? thank you!
string inp = "transport service \"abc\""; string outp = inp.Replace("\"", "\\\""); Console.WriteLine (inp); Console.WriteLine (outp);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)