Find and Replace line breaks...

Results 1 to 2 of 2

Thread: Find and Replace line breaks...

  1. #1
    Kayjey Guest

    Default Find and Replace line breaks...

    Hi there.<BR><BR>Getting into ASP this time... I&#039m looking for someone who can tell me how to do the following:<BR><BR>I have an access database with a lot of info. Some fields are memo fields, containing line brakes (hard returns). Now when I try to display them on a html page, I need to replace all returns by <BR> html tags. How can I use the Replace(s ,"str1" ,"str2") function to find those returns and replace them?<BR><BR>I already thought about the &#060;pre&#062; pre tag in html, but that one won&#039t allow to dynamically break lines on window width...

  2. #2
    Join Date
    Dec 1969

    Default RE: Find and Replace line breaks...

    I think Replace (memostring, vbcrlf, "<BR>") should do it.

Posting Permissions

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