[Javascript] Can't create <IMG> with ASP...very strange.

Ben ben at babelfish.co.uk
Sun May 6 13:03:49 CDT 2001


Sure, in VBScript just double them up.

For example:

    strMyString = "here is a double quoted ""word"" inside a string"

produces:

    here is a double quoted "word" inside a string

Probably better to sick to the chr(34) method tho... it's cool and the
chicks love it.

 .ben
  -----Original Message-----
  From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Rui Fortes
  Sent: 06 May 2001 18:48
  To: javascript at LaTech.edu
  Subject: [Javascript] Can't create <IMG> with ASP...very strange.


  Ok Ben!

  It works if I had the chr(34) :-)

  Isn't there any other way to use " in a string?
  I think in java you can do:
       mystring = "here is a double quoted 'word' inside a string";

  I not really sure. Have to check it out.

  Do you know a similar way in vbscript?

  You ask if any error message was showned. No. Just the red X.

  Thanks again,
  Bye

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010506/b3e79599/attachment.htm>


More information about the Javascript mailing list