Expert Programmer's Help required.
#1
I've got an ASP newsletter app running on one of my domains. I'm using CDONTs to send the message typed into a web form to everybody in the database.
The problem I have is it is replacing all the apostrophes (') with the string ’
Any ideas of what this is, or how to combat it??
Cheers,
Rik.
The problem I have is it is replacing all the apostrophes (') with the string ’
Any ideas of what this is, or how to combat it??
Cheers,
Rik.
#5
Scooby Regular
Yep, carriage returns, if the email is to go out via HTML.
newString = Replace("yourstring", vbCrLf, "<br>")
You should also use the trim function to get rid of any leading or trailing spaces:
newString = Trim(Replace("yourstring", VbCrLf, "<br>"))
newString = Replace("yourstring", vbCrLf, "<br>")
You should also use the trim function to get rid of any leading or trailing spaces:
newString = Trim(Replace("yourstring", VbCrLf, "<br>"))
Thread
Thread Starter
Forum
Replies
Last Post
gazzawrx
Non Car Related Items For sale
13
17 October 2015 06:51 PM
The Joshua Tree
Computer & Technology Related
18
11 September 2015 09:24 PM