detect new line in a text block

Discussion in 'ASP General' started by Evertjan., Mar 27, 2007.

  1. Evertjan.

    Evertjan. Guest

    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 %>

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan., Mar 27, 2007
    #1
    1. Advertising

  2. Evertjan.

    aa Guest

    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?
    aa, Mar 27, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rosario Morgan
    Replies:
    3
    Views:
    343
    bruno at modulix
    Jun 14, 2006
  2. morrell
    Replies:
    1
    Views:
    949
    roy axenov
    Oct 10, 2006
  3. kaushikshome
    Replies:
    4
    Views:
    762
    kaushikshome
    Sep 10, 2006
  4. Henry
    Replies:
    0
    Views:
    448
    Henry
    Feb 10, 2004
  5. Replies:
    2
    Views:
    141
Loading...

Share This Page