Re: Position of first match in text

2005-03-20 Thread Stadin, Benjamin
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

Re: Position of first match in text

2005-03-19 Thread Roger Stringer
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

re: Position of first match in text

2005-03-18 Thread Stadin, Benjamin
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/