# $ '1'
0
  # $ '12'
1

It catches me out every time :-).

I always forget to run strings through the filter:
x =. ,:^:(0:=#@:$) x
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to