Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

remove carriage returns from string c#

// Remove newlines from both sides of the 'example' string variable
string cleaned = example.Trim('
', '
');
Source by kodify.net #
 
PREVIOUS NEXT
Tagged: #remove #carriage #returns #string
ADD COMMENT
Topic
Name
9+5 =