>Could you, please, explain me what is the difference between TxtFindString
>and StrStr commands? And which of them are faster?
StrStr does a raw binary comparison of data. This makes it fast, but
inappropriate for use in situations where you want "This" to match
"this", for example.
TxtFindString does locale-sensitive matching, which typically means
it is case and diacritical insensitive. In locales such as Japan, it
might also wind up treating single- and double-byte versions of the
same characters as equivalent, thus the extra "match length"
parameter.
-- 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/tech/support/forums/