Passing quotes in URL

Results 1 to 2 of 2

Thread: Passing quotes in URL

  1. #1
    Join Date
    Dec 1969

    Default Passing quotes in URL

    I need to include a double-quote in my URL string (this is required by Crystal Enterprise). I am already using double-quotes to delimit text strings. How can I include a double-quote as part of that text string?

  2. #2
    Join Date
    Dec 1969

    Default RE: Passing quotes in URL

    Double up the doublequotes:<BR><BR>response.write "&#060;a href=&#039;whatever.asp?text=" & server.urlencode("Jim said ""Well, bugger me!"" to no one in particular") & "&#039;&#062;"<BR><BR>or you could use:<BR><BR>chr(34)<BR>

Posting Permissions

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