On Monday, January 6, 2003, at 11:58 AM, Mark Brownell wrote:
2.) I noticed that it won't work with multiple words or empty space betweenWould offset() do what you want?
characters. I would like to work with the numericle offset of characters and
place that info gathered into an array if possible.
I would expect this to be faster, since going to the start position will have constant time.
(Your method probably has mc^2 time, call it E ;-), where m is the number of words to find and c is the length of your string in characters. Using offset() should have mc time. Why squared? I'm just guessing, but I assume wordOffset() has to count up to the starting word each time.)
Dar Scott
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution