Once upon a time?

Mark Smith mark at maseurope.net
Sat Feb 3 09:20:30 EST 2007


The first (wordOffset), by a factor of 100 or so, on my machine.

Best,

Mark

On 3 Feb 2007, at 13:24, David Bovill wrote:

> Thanks guys!
>
> Now I wonder which will be fastest:
>
> get wordOffset(word1, tText)
> if (it > 0) AND (it = (wordOffset(word2, tText) - 1)) then
>
> or
>>
>> put space into P
>> put replaceText("once   upon a  time","\s+",P)  into cleanVar
>> put P&"once upon"&P is in P&cleanVar&P = true
> _______________________________________________
> 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