On Saturday, April 17, 2004, at 06:23 AM, David Vaughan wrote:
repeat with i = 33 to 47 replace NumToChar(i) in whateverText with space end repeat -- and so on
A normalized sequence of words can be created with a single replaceText() application. That can put a single space between each word.
This can be applied to the search text and the phrase.
There is also the problem of matching partial words. Consider...
Phrase: ground coffee swim
Text: ... selling underground coffee swimming suits ...
One way to handle this with the brute force method and the above normalization is to put a space at the front and back of each phrase and the text if one is not already there.
One advantage of the above full normalization method is that it does not affect operations done many times to or with the text.
Dar Scott
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
