Hi Lindsay,
> (glue C (filter '((E) E) (split (chop S) C))))
I would do the same.
Just one minor improvement:
Because calling an EXPR function like ((E) E) is relatively expensive, I
generally recommend to use 'prog' for the identity function:
(glue C (filter prog (split (chop S) C))))
: ('((E) E) 123)
-> 123
: (prog 123)
-> 123
In the above case, where we just filter the list and and thus just need a
boolean result, I'd use 'bool':
(glue C (filter bool (split (chop S) C))))
♪♫ Alex
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe