Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

remove control characters from string c#

string input; // this is your input string
string output = new string(input.Where(c => !char.IsControl(c)).ToArray());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #control #characters #string
ADD COMMENT
Topic
Name
6+4 =