Devon McCormick <devon...@gmail.com> writes: > I sometimes use "(<x)+./ . E &> y" to look up any occurrences of string x > in vector of strings y
Just to be clear, let me point out I was looking for cases where the left argument to matrix product is NOT an insert, and here it IS an insert, namely +./ Also, I'm not sure that expression works: (<'ab') +./. E.&> 'ac';'cab';'bca';'bab' |domain error | (<'ab')+./. E.&>'ac';'cab';'bca';'bab' I use @: for this task instead: (<'ab') +./@:E.&> 'ac';'cab';'bca';'bab' 0 1 0 1 -- Omar ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm