champ_010
asked on
Replace Typed Dashes in Paragraph with HTML
Hi I have this in my Sql UPDATE statement:
Description='#Replace(form .Descripti on, 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.
Description='#Replace(form
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks--learned something new again.
I learn everytime from AnandKP :)
---Pinal
---Pinal
Tha ascii of dash will be –
if due to some reason they are big dash then try this big dash ascii —
hope this helps...
Regards,
---Pinal