I prefer
   ;:inv z

But note that

  deb,' ',.>z

would work.  (J6 users need require'strings' before this can work.)

FYI,

-- 
Raul

On Thu, Sep 6, 2012 at 6:21 PM, Ian Clark <[email protected]> wrote:
> Yes, but we need a string.
> You can ravel the 2D array to get a string, viz:
>    ,> z
> but it gives you a varying number (0 or more) of separating spaces.
>
> On Thu, Sep 6, 2012 at 10:50 PM, km <[email protected]> wrote:
>>     > 'alpha';'bravo';'charlie'
>>  alpha
>>  bravo
>>  charlie
>>
>> I'm resending because the echo from Jsoftware to my iPad was incorrect.  
>> Hope this one shows my solution was to open the list of boxes.
>>
>> Sent from my iPad
>>
>>
>> On Sep 6, 2012, at 4:32 PM, km <[email protected]> wrote:
>>
>>>> 'alpha';'bravo';'charlie'
>>> alpha
>>> bravo
>>> charlie
>>>
>>> (shape 3 7)
>>>
>>> Sent from my iPad
>>>
>>>
>>> On Sep 6, 2012, at 11:38 AM, Ian Clark <[email protected]> wrote:
>>>
>>>> Kindergarten class...
>>>>
>>>> I have a list of boxed literals...
>>>>  z=: 'alpha' ; 'bravo' ; 'charlie'
>>>>
>>>> I want to flatten it to a literal, but with spaces between. (Variant:
>>>> --with LF's).
>>>>
>>>> Raze (;) does indeed flatten the list...
>>>>  ;z
>>>> alphabravocharlie
>>>>
>>>> There's got to be a really neat extended Raze which includes
>>>> separators. But the fastest I've been able to come up with is:
>>>>
>>>>  b2o=: }.@((<' ') ;@,. ])
>>>>  b2o z
>>>> alpha bravo charlie
>>>>
>>>> Any advances?
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> 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