Click here to Skip to main content
15,918,211 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to translate all line endings in a string from CR+LF (if any) to LF? I want to do the same via asp.net with c#
Posted
Updated 5-Jun-15 6:29am
v2
Comments
Sinisa Hajnal 5-Jun-15 6:24am    
What have you tried?
Sergey Alexandrovich Kryukov 5-Jun-15 12:29pm    
What have you tried so far?
—SA

1 solution

A simple google search will show you how. There are various ways so I suggest you search and use the one that works best for you.

For example, http://stackoverflow.com/questions/9400959/string-replace-crlf-with-n[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900