On Sun, Aug 17, 2008 at 10:39 AM, Roger Hui <[EMAIL PROTECTED]> wrote:
> s=: 'ab',LF,'abc de',LF,'ab de',LF,'de ef',LF
> w=: <;._1@(' '&,)&.> <;._2 s
> u=: ~. ; w
> u ,. <@I."1 |: (<u) e.&> w

I would have been tempted to use
w=: <@;:;._2 s
u=: ~. ; w
u,.u [EMAIL PROTECTED]:1 w

(or maybe even a variable-free rephrasing of that?)

But, without knowing what a "sentence" was, maybe my use of ;:
would not be a good thing?

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

Reply via email to