Same idea:

([,' ',])&.>/;._2 l,<''

Different idea:

<@(;:^:_1);._2 l,<'' 

Henry Rich

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of June Kim
> Sent: Saturday, June 09, 2007 10:55 AM
> To: Programming forum
> Subject: [Jprogramming] concatenating lines into paragraphs
> 
> l=: <;._2 (0 : 0)
> This is the
> first paragraph.
> 
> And the second
> )
> ((0 = #)&> ([,' ',])&.>/;._2 ]) l,<''
> 
> Easier way to do this?
> ----------------------------------------------------------------------
> For information about J forums see 
> http://www.jsoftware.com/forums.htm

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

Reply via email to