Difference between chr (13) and chr (10) - Stack Overflow Chr(10) is the Line Feed character and Chr(13) is the Carriage Return character You probably won't notice a difference if you use only one or the other, but you might find yourself in a situation where the output doesn't show properly with only one or the other So it's safer to include both
Difference between CR LF, LF and CR line break types CR and LF are control characters, respectively coded 0x0D (13 decimal) and 0x0A (10 decimal) They are used to mark a line break in a text file As you indicated, Windows uses two characters the CR LF sequence; Unix (and macOS starting with Mac OS X 10 0) only uses LF; and the classic Mac OS (before 10 0) used CR An apocryphal historical perspective: As indicated by Peter, CR = Carriage