Too many linefeeds!

Results 1 to 2 of 2

Thread: Too many linefeeds!

  1. #1
    Stefan Guest

    Default Too many linefeeds!

    I´ve created an asp page that reads a text from a database and displays it in a textbox. I´ve replaced all vbcrlf with br. This page is used for editing the text. When I after editing submit the form to a asp page that inserts the information into the database (replacing br with vbcrlf) it also adds an extra br at the end. How can I avoid it?<BR><BR>-Stefan-

  2. #2
    Join Date
    Dec 1969

    Default RE: Too many linefeeds!

    Just use the "Left" function to take the last four characters off the end of the string, which is the "<BR>" like so:<BR>myString=Left(myString,4)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts