Assuming you mean remove a column preceded by an identical column:
(#~ 1 , [: -. 2&(-:/\))&.|: 2 10$'ABCDEEEFGH'
ABCDEFGH
ABCDEFGH
requires at least 1 column.
Henry Rich
On 8/13/2012 5:13 AM, Linda Alvord wrote:
How can I amend adjacent columns to remove duplicates?
2 10$'ABCDEEEFGH'
ABCDEEEFGH
ABCDEEEFGH
2 7$'ABCDEFG'
ABCDEFG
ABCDEFG
Linda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm