Filter an array by content
Dar Scott Consulting
dsc at swcp.com
Thu Jun 20 17:55:41 EDT 2019
I think the filtering of array items was introduced in 8.1, so combine and split might not be needed. However, unless pattern matching will do, one has to wait until 9.5 to use the "where" clause in "filter".
> On Jun 20, 2019, at 3:37 PM, hh via use-livecode <use-livecode at lists.runrev.com> wrote:
> Why not "combine array V > filter V > split V"?
>> JLG wrote:
>> I need to filter a numeric array by the content of the keys, not by the
>> keys themselves. Is there a way to do that without looping through the
>> entire array and looking at each element?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode