(/: 1&{"1)
>./@>@:(1&{"1)
there are other ways too
Henry Rich
On 10/11/2011 6:14 PM, David Vaughan wrote:
> I have strings and a numbers in adjacent boxes, like so:
>
> ┌─────────┬─┐
> │0 │1│
> ├─────────┼─┤
> │1 │1│
> ├─────────┼─┤
> │8 │1│
> ├─────────┼─┤
> │27 │1│
> ├─────────┼─┤
> │46 │1│
> ├─────────┼─┤
> │125 │2│
> ├─────────┼─┤
> │126 │1│
> ├─────────┼─┤
> │334 │1│
> ├─────────┼─┤
> │279 │1│
> ├─────────┼─┤
> │0001 │1│
> └─────────┴─┘
>
> How can I do things like sort or>./ on only the second box of each row?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm