remove control characters from string c#

64

remove control characters from string c# -

string input; // this is your input string
string output = new string(input.Where(c => !char.IsControl(c)).ToArray());

Comments

Submit
0 Comments