Need to filter out items of list
Klaus major-k
klaus at major-k.de
Tue Jun 3 14:41:58 EDT 2014
Hi all,
Am 03.06.2014 um 20:36 schrieb Dar Scott <dsc at swcp.com>:
> I recommend building a new string rather than deleting lines.
and that is even mandatory, because "repeat for each xxx" is "read-only"! :-)
> 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
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list