Paul Nevai said:
>This StrCaselessStr () works well BUT is MUCH slower than StrStr (). Could
>you recommend me a faster one? Generally speaking, StrLen (strP) is very
>large.
You should use a better search algorithm. Check out
http://www.cs.utexas.edu/users/moore/best-ideas/string-searching/
for info on the Boyer-Moore algorithm. You may need to add a line of
code to do caseless compares.
Good luck!
Lee
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/