• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
quoting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

quoting


  • Subject: quoting
  • From: Chris Garaffa <email@hidden>
  • Date: Thu, 17 Jul 2003 14:37:11 -0400

Hey everyone, I'm thoroughly confused -- I need to add a double quote (")to a string. So I tried:
set gSQLString to gSQLString & "\"" & someData & "\""
which didn't work, so I tried
set gSQLString to gSQLString & (ASCII character 34) & someData & (ASCII character 34)
Both produce an almost-correct string, except when I log it, the quote shows up as \" both times.

How can I get around this?

Thanks,
--
Chris Garaffa
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: quoting
      • From: Michelle Steiner <email@hidden>
    • Re: quoting
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: Finding Installed Memory Total
  • Next by Date: 'mount volume' for Windows volumes
  • Previous by thread: Re: Finding Installed Memory Total
  • Next by thread: Re: quoting
  • Index(es):
    • Date
    • Thread