How can I remove duplicates in one string?

Hi,
I extract the data from the column “email” as the image below.
Now, I want to remove duplicated emails in this output.

How can I do this? Please teach me.

Hi @khanh_dinh
Try this
String.Join( “;”,InputVar.Split(";"c).ToList().Distinct)

1 Like

Thank you so much for your support.

1 Like

@khanh_dinh Always Welcome. Happy Learning

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.