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

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

Reply via email to