Re: TxtFindString question

2004-03-25 Thread pcles
> If you need to do a caseless match anywhere (and thus StrStr won't > work) then yes, you'll have to write your own. I guess doing a StrToLower on both the string to search and the one the be searched for would work. Pierre L. -- For information on using the Palm Developer Forums, or to unsu

Re: TxtFindString question

2004-03-25 Thread pcles
> Would StrStr() work? > YES ! It works fine. Many Thanks. Pierre L. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: TxtFindString question

2004-03-25 Thread Ken Krugler
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 "bas

Re: TxtFindString question

2004-03-24 Thread Matt Graham
pcles wrote: Like FindStrInStr, it seems that TxtFindString only matches the beginning of words only - not documented in PalmRef doc. 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 Pal

TxtFindString question

2004-03-24 Thread pcles
Like FindStrInStr, it seems that TxtFindString only matches the beginning of words only - not documented in PalmRef doc. 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 f