((0 = #)&> ([,' ',])&.>/;._2 ]) l,<''
+----------------------------+--------------+
|This is the first paragraph.|And the second|
+----------------------------+--------------+
   <@}.@;@:(' '&,&.>);._2 l,a:
+----------------------------+--------------+
|This is the first paragraph.|And the second|
+----------------------------+--------------+



----- Original Message -----
From: June Kim <[EMAIL PROTECTED]>
Date: Saturday, June 9, 2007 7:54 am
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

Reply via email to