which is faster for searching?

larry at significantplanet.org larry at significantplanet.org
Tue Jun 17 10:22:23 EDT 2014


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


More information about the use-livecode mailing list