Replace Typed Dashes in Paragraph with HTML
Posted on 2004-09-18
Hi I have this in my Sql UPDATE statement:
Description='#Replace(form.Description, chr(13) & chr(10), "<br>","ALL",)#'
so that I can replace carriage returns in my <textarea> with <br> for input into the database. I would also like to replace all dashes (-) typed into the textarea with the proper thing so that I won't get a little square in the paragraph on output. How? I should mention these are not regular dashes but are the long ones--I don't know what they are called.