is among the words AND find words

Bob Sneidar bobs at twft.com
Wed Dec 21 13:24:51 EST 2011


Feature request! Sign me up!

Bob

On Dec 21, 2011, at 10:12 AM, Pete wrote:

> The token keyword works with "time," and "time-bomb" (assuming you want to
> find just "time").  I've found it to be really useful in a number of
> circumstances in parsing out chunks of text from strings that don't fit the
> standard word model - like SQL statements which can include commas,
> parentheses, quotes, single quotes, and periods.  Many punctuation marks
> are treated as separate tokens as well as anything delimited by a space,
> return, tab, or semicolon.  Only drawback is that there is no tokenOffset
> function so you have to write your own using a repeat loop to go through
> the string.
> Pete





More information about the Use-livecode mailing list