ASP Technology Tutorials Written By Members.
Post a reply

displaying double quotes in ASP

Mon May 14, 2012 11:31 pm

In this example we show how to write double quotes to the web page in asp, we need special handling when displaying double quotes, following is some cases on how to print double quotes:
1- Using
Response.Write """

Print: "
2- Using
Response.Write chr(34)

Print: "
3- To display quotes with strings :
Response.Write " string1 ""string2 string3 """

Print: string1 "string2 string3"

4- Writing quotes in HTML codes
Response.Write " <img src= ""image.gif""  />"

Print : <img src= "image.gif" />

Post a reply
  Related Posts  to : displaying double quotes in ASP
 Add double quotes to text dynamically, on page load     -  
 usage of <q> and <blockquote> to add quotes to your HTML     -  
 Displaying Images using servlets     -  
 Displaying Images in a Gallery     -  
 displaying alert box in html     -  
 PHP forum- images displaying as codes     -  
 ASP.NET code for filling and displaying a DataGrid     -  
 Displaying images from database instead of the url from data     -  
 images,videos and signatures displaying as codes     -  
 How to set double fraction Precision     -  

Topic Tags

ASP Strings, ASP Basics