Re: quoting
Re: quoting
- Subject: Re: quoting
- From: Rob Jorgensen <email@hidden>
- Date: Thu, 17 Jul 2003 16:07:44 -0400
At 2:37 PM -0400 7/17/03, Chris Garaffa wrote:
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.
What is displayed in the result window can sometimes be deceiving.
set foo to "\""
display dialog foo
foo
-- Rob
_______________________________________________
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.
References: | |
| >quoting (From: Chris Garaffa <email@hidden>) |