20 pts.
 Paragraph marks in an ASP blog page.
My web site includes an asp created blog page that accepts a message in a form text box, sends it to an Access database then returns it to the page. It works without trouble EXCEPT when a user hits enter to go to a new paragraph. The paragraph character is sent to the database but ignored when brought back to the page. I could use "Replace" but I don't know what to use in the stringfind to find a paragraph character. For the stringreplace I can use a simple <br />. Or is there a better way to include a paragraph break when the Enter key is used?

Software/Hardware used:
ASKED: May 15, 2009  3:07 PM
UPDATED: May 18, 2009  6:28 PM

Answer Wiki:
I solved my own problem. I found that asp recognizes chr(13) as the result of the Enter key and it can be used without quotes. My final line came down to outstr = Replace(Instr, strfind, strreplace) with strfind= chr(13) and strreplace = "<br />", The blog output now accepts paragraph breaks made be the Enter key. Bob
Last Wiki Answer Submitted:  May 18, 2009  6:28 pm  by  Boblafferty   20 pts.
All Answer Wiki Contributors:  Boblafferty   20 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _