J
jp2code
When I collect the text from a form's text box, I am loosing the page
breaks.
When using C# in the past, I used this:
How would this be changed for VBScript using Classic ASP? StringReader is a
..NET creature, isn't it?
breaks.
When using C# in the past, I used this:
Code:
string strLine, strParagraph;
StringReader sReader = new StringReader(Request.Form["textMessage"]);
while (sReader.Peek() > -1)
{
strLine = sReader.ReadLine();
strParagraph += strLine;
if (strLine == "")
{
strParagraph += "<br/><br/>";
}
}
How would this be changed for VBScript using Classic ASP? StringReader is a
..NET creature, isn't it?