How would you normalize all new-line sequences in a string to one type?
I\'m looking to make them all CRLF for the purpose of email (MIME documents). Ideally this w
input.Replace("\r\n", "\n").Replace("\r", "\n").Replace("\n", "\r\n")
This will work if the input contains only one type of line breaks - either CR, or LF, or CR+LF.