Well one of the things you could do is this:

slightly pseudo

1 put the number of chars in MyDATA into MyNUM
2 put MyNUM / 3 into SLICER
3 put chars 1-SLICER of MyDATA into firstTHIRD
4 put chars SLICER-(SLICER * 2) into secondTHIRD
5 put chars (SLICER * 2)-(SLICER*3) into thirdTHIRD

at which point you can perform you search inwith secondTHIRD.

Unless you want to recombine all those bits having performed some sort of operation on secondThird
lines 3 and 5 are a waste of time.

Best, Richmond.

Best Richmond.

On 16.05.22 20:46, Rick Harrison via use-livecode wrote:
I have a large chunk of data that I want to
search as quickly as possible.

Unfortunately the part I want to search is the
middle third of the data.  The other thirds at
the beginning and at the end are just junk and
slow down my search so I want to get rid of them.

I don’t want to search line by line as that
takes way too long.

There’s no unique character dividing any
of these data regions.

What’s the best way to do this?

Thanks in advance!

Rick



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to