Filter an array by content
Monte Goulding
monte at appisle.net
Thu Jun 20 18:18:47 EDT 2019
Hi Jacque, does the output also need to be a sequential numeric array? If so then no variant of the filter command will help. If not then can’t you `filter elements of theArray with “*foobar*”``? It would be a nice addition to filter elements to have `as sequence` or something so the result had keys 1..N.
> On 21 Jun 2019, at 6:56 am, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> 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?
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> 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