Hi I'm trying to emulate e.(member in) with a combination of +/ and =/
+/ 'cd' =/ 'abcd' 0 0 1 1 +/ 'abcd' =/ 'abcd' 1 1 1 1 +/ 'ad' =/ 'abcd' 1 0 0 1 So far so good. However, when x is not an array, it gets broken: +/ 'b' =/ 'abcd' 1 What I wanted to achieve as a result was, 0 1 0 0. I need to normalize x before doing "=/". Is there an easy and neat way to do that? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
