\n
- CR (Carriage Return)
- Same as (char)13
- Used as a new line character in Unix
\r
- LF (Line Feed)
- Used as a new line character in Mac OS
- CR + LF (Carriage Return + Line Feed)
- Used as a new line character in Windows
- Any of the above codes, based on the Operating System
- This is the preferred method
No comments:
Post a Comment