Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quick: outputing quotes with response.write

Status
Not open for further replies.

rastkocvetkovic

Programmer
Aug 11, 2002
63
SI
This should be simple!

How could I do Response.Write(""This is a quote of Shakespeare"") so that the output would be "This is a quote of Shakespeare" ? Thank you in advance!
 
Thanks! In PHP we use echo '"This Works"'; Or similar echo "\"This Works\"";, so here's not the same.
 
The escape character for ASP is another quote instead of the slash like PHP.
PHP: echo "\"This Works!\"";
ASP: Response.Write """This Works!"""
-Tarwn ------------ My Little Dictionary ---------
Reverse Engineering - The expensive solution to not paying for proper documentation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top