Answers for "string remove char 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

C# Answers by Framework

Browse Popular Code Answers by Language