Repeat for each
Ken Ray
kray at sonsothunder.com
Sat Nov 5 17:18:02 EST 2005
On 11/5/05 12:09 PM, "Geoff Canyon" <gcanyon at inspiredlogic.com> wrote:
>>> filter theData with "*" & tab & "*word*" & tab & "*" & \
>>> tab & "*" & tab & "*" & tab & "*" & tab & "*" & tab & "*"
>>
>> Actually, you only need to add "*" right after the thing you're
>> checking,
>> and shouldn't need any more "*"s, so this should work just as well:
>>
>> filter theData with "*" & tab & "*word*" & tab & "*"
>
> That filter would match any line where "word" was in any item from
> 2-7 of 8. To nail it down to the second item the filter string has to
> include the tabs for all the items.
Good catch, Geoff - I stand corrected!
> Except for the fact that filter should probably be bugzilla'd for
> being slow. Can anyone come up with an example where filter beats
> "repeat for each?"
Not that I can think of...
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list