Using selection patterns
(#"1~ ]\@(1$~#))A
2 0 0
3 4 0
4 5 6
And so
(#"1~ ]\@(1$~#))3 3$'abcpqruvw'
a
pq
uvw
Hallo David Vaughan, je schreef op 13-10-11 14:52:
> I have an array like:
>
> 2 3 4
> 3 4 5
> 4 5 6
>
> but I want to delete the upper right corner like so:
>
> 2 0 0
> 3 4 0
> 4 5 6
>
> How can this be done? Thanks.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
Met vriendelijke groet,
=@@i
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm