>Does anyone can tell me that is there any function that i would be able to
>find a string as i gave a substring of it..
>As i know that the "FindStrInStr"  is only can search string for substring
>but in forward direction.. for instance, "123456" , the find can be succeed
>if it is given 123 or 12 or 1234 but if 456 or 56, it is fail. Does anyone
>has the idea?

You can use StrStr, but note that it doesn't do a caseless (weakly 
equal) match.

>Another issue is, if the string is "Chua Wei Mei", i try to find this string
>but when i type "Chua", it doesn't match the string or even "Chua Wei Mei"
>(I'm using this  "FindStrInStr" function), Does anyone have the idea??????

Don't forget to call TxtGluePrepFindString to "prepare" the string 
you're searching for first. FindStrInStr (and TxtFindString) assume 
that the string to find has been run through this routine.

-- 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