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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
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)