I have a string that I bring in from my database. This string is going to be apart of an email body that I will be sending out. I have included a stylesheet along with this email and want to use it. In my database which holds the text I have , separating where I want new paragraphs to begin. My problem is with my code that replaces , with <p>
Here is my code
narstr = Replace(narstr, ";", "<p></p>"
my problem is that I want it to look like this
narstr = Replace(narstr, ";", "<p class="maintext"></p>
because the word maintext is surrounded by "" it doesn't work and have syntax errors. If I try to work around it with & signs I seem to get no where. Any suggestions?
Here is my code
narstr = Replace(narstr, ";", "<p></p>"
my problem is that I want it to look like this
narstr = Replace(narstr, ";", "<p class="maintext"></p>
because the word maintext is surrounded by "" it doesn't work and have syntax errors. If I try to work around it with & signs I seem to get no where. Any suggestions?