Hey Skip, You can use the hook in your #~ definition as well, so ] is not required. This is really just golfing, I am not sure that it improves efficiency.
pal=.#~(=|.&.":&>) pal 12321 12322 345 343 789987 9878 12321 343 789987 Cheers, bob > On May 9, 2023, at 11:38, 'Skip Cave' via Programming > <programm...@jsoftware.com> wrote: > > pal 12321 12322 345 343 789987 9878 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm