detect new line in a text block

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • aa

    detect new line in a text block

    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?


  • Evertjan.

    #2
    Re: detect new line in a text block

    aa wrote on 27 mrt 2007 in microsoft.publi c.inetserver.as p.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 %>

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)

    Comment

    Working...