> [mailto:[EMAIL PROTECTED] On Behalf Of Raul Miller
>
> This seems a bit more concise (and should also work under J5,
> which I'm guessing you are still using):
> dcat=:1 :', m&,'
>
> But this approach seems slow.
> Compare with:
> dcr=:1 :'}:@(1j1&(#!.m))'
dcat syntax is a bit nicer (but still slower) for catenating more than
one item
'","' dcat/w
;(<'","') dcr <&>w
alpha=:'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
w=:([EMAIL PROTECTED]) {alpha
6!:2 '''","'' dcat /w'
0.210195150501
6!:2 ';(<''","'')dcr <&>w'
0.0191499198921
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm