"&quote&"

Sarah sarahr at genesearch.com.au
Wed Jan 1 19:05:01 EST 2003


Have you tried the "Paste as formatted string" option in the Edit menu 
of the Script editor menus?
If you type (in a field or the message box or in a text document):
	She said, "I do."
select it, copy it and then use the special paste command, you get this:
	"She said, " & quote & "I do." & quote & "

This actually causes a problem because it puts an extra unbalanced " on 
the end, but with very minor editing, it saves a lot of typing. If your 
original sentence doesn't end in a quote, I think you will find it 
works perfectly.

Cheers,
Sarah

On Tuesday, December 31, 2002, at 10:59  am, Ivers, Doug E wrote:

> answer "She said, "&quote&"I do."&quote
>
> Seems like there should be a shorthand way of coding "&quote&".  I use 
> it frequently and it makes things difficult to read.  Javascript 
> handles this nicely by allowing the use of single quotes within double 
> quotes.
>
>
> -- D
>
> P.S.  That was 18 years ago.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>





More information about the use-livecode mailing list