Passing double quotes "

Results 1 to 4 of 4

Thread: Passing double quotes "

  1. #1
    Join Date
    Dec 1969
    Posts
    119

    Default Passing double quotes "

    How to pass double quotes in a variable while using Response.Write?<BR><BR>Thanks<BR>Arvind<BR>

  2. #2
    Bigsmurf Guest

    Default RE: Passing double quotes

    Hi,<BR><BR>try putting a backslash before the doublequote, like this: \"<BR><BR>The backslash tells ASP not to interpret the doublequote as an end-of-string marker, which it probably is doing. is an &#039escape&#039 character.<BR><BR>Hope this helps.<BR><BR>BS

  3. #3
    John Harvey Guest

    Default Use double double quotes

    If you are using VBScript then you use two double quotes to send a double quote. <BR>Example"<BR>&#060;%string = "double quotes are ""easy"" once you get the hang of it!"<BR>Response.Write string&#037;&#062;<BR>Yields:<BR>double quotes are "easy" once you get the hang of it!

  4. #4
    Join Date
    Dec 1969
    Posts
    119

    Default RE: Use double double quotes

    Thanks John, it works.<BR>Arvind


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •