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

This article was originally published on September 22nd, 2016

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date