Answers for "c# remove crlf from string"

C#
0

c# remove crlf from string

// Remove all newlines from the 'example' string variable
string cleaned = example.Replace("\n", "").Replace("\r", "");
Posted by: Guest on August-04-2020

Code answers related to "c# remove crlf from string"

C# Answers by Framework

Browse Popular Code Answers by Language