Thanks for your comment. By the way, I tried some text searching algorithms
(some Boyer-Moore, Tuned Boyer-Moore and Quicksearch variations and a normal
brute force caseless strstr). None of them was as fast as the Palm
StrStr+StrToLower, the best Boyer-Moore variation was about 1.5 times
Subject: Position of first match in text
From: Stadin, Benjamin [EMAIL PROTECTED]
Date: Sat, 19 Mar 2005 06:40:09 -
I'm using StrStr to compute the position of the first match in a text
string (TxtGlueFindString and FindStrInStr don't give the correct Position
if the string doesn't start
Argh Sorry. I forgot to lower case the text. Time to sleep.
;-)
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/