Small victory! I guessed that part 2 would address the chaff.
NB. testing part 2, data and adverb
TEST_PART2=: ". LF -.~ 0 :0
('<>'; 0);('<random characters>'; 17);
('<<<<>'; 3);('<{!>}>'; 2);('<!!>'; 0)
;('<!!!>>'; 0);<('<{o"i!a,<{i<a>'; 10)
)
Testpart2=: 1 :0
'a b'=. y
assert. b = {:#&> u a
)
NB. example for verb part2
part2 Testpart2&> TEST_PART2
Note 'anticipate no assertion errors'
┌───────────────────┬──┐
│<> │0 │
├───────────────────┼──┤
│<random characters>│17│
├───────────────────┼──┤
│<<<<> │3 │
├───────────────────┼──┤
│<{!>}> │2 │
├───────────────────┼──┤
│<!!> │0 │
├───────────────────┼──┤
│<!!!>> │0 │
├───────────────────┼──┤
│<{o"i!a,<{i<a> │10│
└───────────────────┴──┘
)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm