or this variant? f(1 i.~"1+./@E.~&> /)s. NB. f & s obvious? 0 0 1 2
This lists the index of the first instance of a substring of each element of fullNames in the shortNames boxed list. It assumes it's there somewhere, but you can use the property that non-inclusion is shown by index = length or number of shortNames. Any help, Mike > On 12 Nov 2018, at 22:29, Brian Schott <[email protected]> wrote: > > Is this anything you can use? > > I.fullNames(((]))&: >"0/-:"1 ((#@]{.[))& >"0/) shortNames > > > -- > (B=) <-----my sig > Brian Schott > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
