detect new line in a text block

E

Evertjan.

aa wrote on 27 mrt 2007 in microsoft.public.inetserver.asp.general:
If I have a long text which I copied from a Word document and pasted
it into asp in order to output it into HTML, how do I detect new line
in the text and insert Line Feed Carriage Return?

<% if printtext then%>
<pre style=''>
Bla blah,
blah.
</pre>
<% end if %>
 
A

aa

If I have a long text which I copied from a Word document and pasted it into
asp in order to output it into HTML, how do I detect new line in the text
and insert Line Feed Carriage Return?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top