Classic ASP BasicsFor beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
Hum interesting ...
The conclusion of a lot of trying was that an enter stroke actually consist of two parts.
Why, I don't really know ..
but I now do know that both Chr(10) and Chr(13) are parts of a singe one enter
When searching and replacing one character at the time, such as in this script I'm currently writing on, an enter will be read as two separate characters. And therefor the translation of an enter will be done in two steps
I think the vbCrLf can represent both these parts.
To make a replace of an enter - you may search for two vbCrLf, or one Chr(10) and one Chr(13)