Like FindStrInStr, it seems that TxtFindString only matches the
beginning of words only - not documented in PalmRef doc.

That's the current behavior on all Latin-based devices. On Japanese & Chinese devices it matches anywhere in the word. The behavior is locale-sensitive.


Finding "ased" in "based" doesn't work whereas finding "bas" in "based"
works fine.

To me, this makes this function quite useless. Is there any real usable
Palm text find function I've missed, or do I need to write it myself ?

If you need to do a caseless match anywhere (and thus StrStr won't work) then yes, you'll have to write your own. There might be a really old thread on this in the archives, when Paul Nevai asked the same question.


-- Ken
--
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to