If you mean remove any duplicate, then this might work.
f=:2 10$'ABCDEEEFGH' ~.&.(<"1&.|:) f ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
If you mean remove any duplicate, then this might work.
f=:2 10$'ABCDEEEFGH' ~.&.(<"1&.|:) f ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm