Print Page | Close Window

How to

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=1272
Printed Date: 29 March 2026 at 8:40am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: How to
Posted By: esquif
Subject: How to
Date Posted: 23 March 2003 at 7:19pm

I wish to add a quote (") to a string that I take from a form. All this need to write in a text file. So far everything work well except for the quote. Here the code line I use:

act.WriteLine "<p>" & paragraph1 & "</p>"

where paragraph is the string coming from the form. I wish to add quote automatically at the begining and the end of the string, when the text file is write.

Thanx for your help 



-------------
Esquif
Look to the sky and smile



Replies:
Posted By: esquif
Date Posted: 23 March 2003 at 7:48pm

Finaly find how to that alone

lquote=""""

act.WriteLine "<p>" & lquote & u_paragraph1 & "</p>"



-------------
Esquif
Look to the sky and smile


Posted By: Flamewave
Date Posted: 24 March 2003 at 1:26am
"<p>""" & paragraph1 & """</p>" will work as well

-------------
- Flamewave

They say the grass is greener on the other side, but if you really think about it, the grass is greener on both sides.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net