which is faster for searching?

Peter Haworth pete at lcsql.com
Tue Jun 17 19:25:31 CEST 2014


You might want to try the filter command too, especially the new version
that has a lot more options including the ability to put the qualifying
lines into a different container.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Tue, Jun 17, 2014 at 7:22 AM, <larry at significantplanet.org> wrote:

> I have a large variable containing about 3000 lines of data - each line
> about 100 characters.
>
> I want to search through the variable and find all the lines that contain
> a specified string
>
> Should I use (repeatedly) "lineoffset...", or should I use "repeat for
> each line..."  or maybe some other faster way?
>
> Or with only 3000 lines of data, does it even matter?
>
> TIA
> Larry
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list