Alan Macy wrote:
> The Palm's Find function can't find text within a word. For example, if
> you have a memo with the text: "Testing" and you search for "esting" that
> memo will not be found. If you search for "Tes" it will find it.
>
> This seems like a weird convention to me. I've never seen any other text
> search algorithm that uses that convention. It caused me to waste a few
> hours yesterday, because I thought my find routines were broken.
>
> I guess the convention is part of the FindStrInStr routine. Metrowerks:
> please consider changing it.
Get and use FindHack. I'm not sure what Metrowerks has to do with it; I
think the "problem" (feature? :-) is in FindStrInStr.
<OPINION ON>
FindHack started out well, then became quite overbloated. Version 1.0
fixes the problem you discovered, and nothing more. I've squirreled
away a copy and made it available for anyone to download, with the
author's permission: http://home.att.net/~foursquaredev/rpp/find10.zip
<OPINION OFF>
--
Roger Chaplin
<[EMAIL PROTECTED]>