Re: P.S. on searching for chars within a string

2014-09-24 Thread Michael Doub
Very creative approach. I like it. -= Mike On Sep 24, 2014, at 12:30 PM, J. Landman Gay wrote: > Jacqueline ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: P.S. on searching for chars within a string

2014-09-24 Thread J. Landman Gay
On 9/24/2014, 2:20 AM, la...@significantplanet.org wrote: I am using a for each loop and have run some benchmark time tests. I am able to find (match) the words I want in about 1/7 of the time that it used to take me using a different procedure - and the old way was pretty fast! To find all the

Re: P.S. on searching for chars within a string

2014-09-24 Thread larry
ithin 30 chars. With the old way, I couldn't even search on more than 12 chars, because it just took too long. So I learned a lot today! Larry P.S. Yes, I am using arrays. - Original Message - From: To: Sent: Tuesday, September 23, 2014 9:10 PM Subject: Re: P.S. on searching

Re: P.S. on searching for chars within a string

2014-09-23 Thread dunbarx
Larry. Just read your brute force comment. Not sure how much data you want to compare, but a loop using the "for each" variant will run an awful lot of text in an awfully short time. What about that array thing, just for modernity and compactness/ Craig -Original Message- From: l