Remove duplicates from strings

As I extracted data by using screen scrapping it contains the the duplicate values in it. I don’t know how to remove the duplicates in the last value.
If you look at the screenshot at the bottom, from boarding crossing place to the end is the last element of the string and duplicates are inside that element and I don’t know how to remove them exactly.


Can you share your text as a file or copyable text AND expected output?


Hello @agathiyanv

Are you getting this data from documents or from non-selector elements?

Did you try exploring other OCR engines to cross-check the accuracy of the text scrapping?

OCR engines are not extract the data fully

String.Join(" “, strInput.tolower.Split(” "c).Distinct())