Skip to main content

Hi, If I have records like this:

A,B

A,C

D,B

B,A

but I want the records sorted so

A,B

A,C

B,D

A,B

so I end up with duplciates is this possible the nearest thing I could find was "StringElementDuplicateRemover" but this removes string information?

cheers

Try this:

Use the AttributeSplitter (split on ,) to create a list.

Use the ListSorter to sort the list the way you want.

Use the ListConcatenator to create the sorted attribute (seperator ,).

And the you can use the DuplicateFilter to remove duplicates.

Hope this helps.


Try this:

Use the AttributeSplitter (split on ,) to create a list.

Use the ListSorter to sort the list the way you want.

Use the ListConcatenator to create the sorted attribute (seperator ,).

And the you can use the DuplicateFilter to remove duplicates.

Hope this helps.

thanks that worked a treat!


Reply