Thanks for the responses. What I'm trying to accomplish is to strip the quotes out of random text imported to a field, act on the remaining text word by word, char by char, and then replace the quotes when I'm done. The problem arises in that when double quotes are present in the text everything within them is reduced to a single "word" for Rev. "What are you doing?" becomes a single word with 19 chars rather than four words of different lengths.

At any rate, I used a different strategy and changed out the quotes for something obscure, and it works fine. But what is the ascii for smart quotes?

Thanks,
Mark

On Jul 14, 2007, at 5:20 PM, Mark Smith wrote:

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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


"Many of life's failures are people who did not realize how close they were to success when they gave up."
-Thomas Edison



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to