On Sun, Sep 14, 2008 at 16:56, Raul Miller <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 13, 2008 at 2:42 PM, David Vincent-Jones
> <[EMAIL PROTECTED]> wrote:
>> If I am wrong and "cut" could be used please correct me.
>
>   (,.1 3) <;._3 '  abcde  '
> +---+---+---+---+---+---+---+
> |  a| ab|abc|bcd|cde|de |e  |
> +---+---+---+---+---+---+---+

Try something like

   ,/ (2,:1) [;.3 'abcdef'
ace

Or, in two dimensions,

   ]ar =: 5 5$a.{~97+i.26
abcde
fghij
klmno
pqrst
uvwxy

   ,"3 (2 2,:1 1) ];.3 ar
ace
kmo
uwy

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

Reply via email to