On 10/20/07, Björn Helgason <[EMAIL PROTECTED]> wrote:
>   b-:($a)$,(a=<'s1') #"0 a
> I would like a nicer looking expression

If a is meant to represent arbitrary data, and a=<'s1' an
arbitrary criterea, then you might want something like:
   b-:(a = <'s1'){"_2&.|: a:,:a

However, if this is representative data, then maybe
   b-:(a = <'s1'){ '';'s1'

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to