Thanks, Raul. I'd wondered if that was it. But I was hoping it was
something more useful.

All those solutions involving (>) followed by (,) need to supply those
leading or trailing separators somehow.

On Mon, Jan 2, 2012 at 6:24 PM, Raul Miller <rauldmil...@gmail.com> wrote:
> The dictionary is correct.
>
> However, fill is irrelevant here.
>
> Fill is used to pad trailing dimensions when they do not match.  But
> in this thread there are no trailing dimensions.
>
> Here's an example of what the dictionary is talking about:
>
>   ;!.'.' ,:&.>;:'This is a test'
> This
> is..
> a...
> test
>
> --
> Raul
> On Mon, Jan 2, 2012 at 1:16 PM, Ian Clark <earthspo...@gmail.com> wrote:
>> Thanks folx. There's a lot of ideas there. And a heap of my unasked
>> questions answered.
>>
>> Chiefly by omission. I take it everyone agree that the line on the
>> page for "Raze" (;) which says:
>>  The fit conjunction (;!.f) provides fill specified by the atom f
>> ...is duff gen?
>>
>> On Mon, Jan 2, 2012 at 3:35 PM, Ian Clark <earthspo...@gmail.com> wrote:
>>> Suppose z is boxed strings, eg  z=: ;: 'alpha bravo charlie'
>>>
>>> I half-recall there's a neater (single-primitive) way to recover the
>>> string 'alpha bravo charlie' from z than:
>>>
>>>   b2o=: [: }. [: ; ' ' ,&.> ]
>>>   b2o z
>>> alpha bravo charlie
>>>
>>> but I've forgotten what it is and can't seem to find it in Voc or Dic.
>>>
>>> On the page for "Raze" (;) the Dictionary says archly:
>>>   The fit conjunction (;!.f) provides fill specified by the atom f
>>> but AFAICS (;!.' ')z is the same as ;z , viz: 'alphabravocharlie' .
>>>
>>> Nor incidentally is (;) listed as such on the page for "Fit" (!.) .
>>>
>>> I observe however that:
>>>   ;:inv z
>>> alpha bravo charlie
>>>
>>> But what's in my mind is a way of interleaving some other letter, or 2
>>> spaces, or comma-space, etc.
>>>
>>> BTW timer (6!:2) tells me that ;:inv is slower than b2o .
>> ----------------------------------------------------------------------
>> 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