|
|
|
|
|
by Jaruzel
3666 days ago
|
|
If you break it down and view them as terminal codes (or as the spec was designed, on a teletype), CR+LF is correct, and LF is not. However, the inconsistencies of this over time have become really annoying. My long term pet peeve is in VB.NET when I have to do this: ' This works - using the VB6 interop
Split(StringName,vbCrLf)
' This doesn't work - using the native .NET function
' because .split is only expecting a Char, and not a String)
StringName.Split(vbCrLf)
Really, really annoying. |
|
With that said, CR+LF is just inefficient, since doing both of those tasks together is what is overwhelmingly desired for a newline.