Answers for "remove control characters from string c#"

C#
0

remove control characters from string c#

string input; // this is your input string
string output = new string(input.Where(c => !char.IsControl(c)).ToArray());
Posted by: Guest on August-20-2020

Code answers related to "remove control characters from string c#"

C# Answers by Framework

Browse Popular Code Answers by Language