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

Thursday Sep 22nd 2016
Share:

What does Chr(10) mean when found 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?

Solution:

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

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved