Need to filter out items of list

Dar Scott dsc at swcp.com
Tue Jun 3 14:36:52 EDT 2014


I recommend building a new string rather than deleting lines.

On Jun 3, 2014, at 8:35 AM, Charles E Buchwald <charles at buchwald.ca> wrote:

> Good Morning Skip,
> How about:
> 
> put fld "super large blob of text" into tFieldText
> repeat for each line n in tFieldText
> 	if item 9 of n is empty OR item 15 of n > 0 then delete n
> end repeat
> 
> ... not tested. But it seems like maybe you have something else in mind?
> 
> - Charles
> 
> On 03 Jun 2014, at 9:02 AM, Magicgate Software - Skip Kimpel <skip at magicgate.com> wrote:
> 
>> Good morning coders,
>> 
>> I have a very, very large field that contains some text from a tab
>> delimited dataset.  Row 1 contains the headers.  Here is my dilemma... I
>> need to filter out lines where item 9=EMPTY or item 15 is greater than 0.
>> 
>> Any help or guidance?
>> 
>> Thank you!
>> 
>> SKIP
>> _______________________________________________
>> 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
> 
> --
> Charles E. Buchwald
> CEO/Director General
> Museografica Digital
> http://digital.museografica.com
> 
> LC Developer Tools: http://buchwald.ca/developer-tools/
> 
> Email Notice: http://wp.me/P3aT4d-33
> 
> 
> _______________________________________________
> 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