Skip to main content
Solved

Duplicate values in string

  • November 14, 2017
  • 1 reply
  • 105 views

I have the following string with duplicate values "Lighting; Lighting; Roads; Streets; Roads; " inside an attribute. I know there isn't a transformer to handle this apart from the StringElementDuplicateRemover custom transformer, is there another simpler solution to this?

Best answer by erik_jan

AttributeSplitter (split on , creating a list), ListDuplicateremover on the created list and a ListConcatenator (seperator ,) to get it back to the attribute.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • Best Answer
  • November 14, 2017

AttributeSplitter (split on , creating a list), ListDuplicateremover on the created list and a ListConcatenator (seperator ,) to get it back to the attribute.