ASP Q&A: What Does Chr(10) Mean in a Web Page’s Code?

This is the second in a series of tips being posted based on the most read posts in one of our ASP Forums.

Problem / Question:

What does Chr(10) mean when found in a web page’s code?


CHR(10) is the same as vbLF. It’s the “newline” character. In Windows text files, each line ends with CHR(13) followed by CHR(10). Or vbCR followed by vbLF.

In other systems—notably Linux and UNIX—each line of a text file ends with *ONLY* CHR(10).

Based on posts by forum members PaulB and answer by Bill Wilkerson

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read