"words" within quotations, smart quotes v double quotes

Mark Smith mark at maseurope.net
Sat Jul 14 20:20:53 EDT 2007


May not be practical for the context you're in, but

put quote & "How are you" & quote into tStr
put word 2 of (char 2 to -2 of tStr) -- brackets necessary

seems to get the right thing.

Best,
Mark


On 14 Jul 2007, at 23:58, Mark Swindell wrote:

> "How are you?" is considered a single word by Rev.
>
> How are you?  is considered three words by Rev.
>
> Working with text dialog, how would one get Rev to respond to  
> _"How_ as the first of three words, _are_ as the second, and  
> _you?"_ as the third?  I'm thinking I want to change the double  
> quotes for "smart quotes" or curved quotes before acting on the  
> text, but how is that handled by Rev?
>
> Thanks,
> Mark
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list