Re: Quoted text?
Re: Quoted text?
- Subject: Re: Quoted text?
- From: Jason Bourque <email@hidden>
- Date: Thu, 18 Jan 2001 06:06:38 -0500
>
I am having trouble creating a quoted text string. I9m following the
>
example in a book I have.
>
>
Script:
>
set x to "He said \"Oops.\" after dropping the plate." as string
>
get x
>
>
Result:
>
"He said \"Oops.\" after dropping the plate."
>
>
What I want:
>
"He said "Oops." after dropping the plate."
>
(see no slashes)
>
>
I DO NOT want the back slashes to appear in the string. I9ve tried it
>
without the as string9 on the end. I9ve also tried it with as text9 .
>
Nothing seems to work. I always get the back slashes.
>
>
How do I go about getting the quoted text into the variable?
>
>
Thanks.
>
>
Michael Kern
>
Technologic Partners
>
(212) 343-1900 x116
>
email@hidden
If you don't like to use the slashes and like smart quotes then use:
option + [ (Left Square Bracket) for the left quote
and
option + shift + [ (Left Square Bracket) for the right quote.
They look better and you don't have to use the slash.
Jason Bourque
References: | |
| >Quoted text? (From: Michael Kern <email@hidden>) |