So let's say i have a variable that stores a big string and where the
is the separator to the next word. whats the best way to eliminate duplicate words using the
as the indicator.
So imagine we have this:
var notRemoved= " I am col 1
I am col 2
I am col 11
I am col 1
I am col 2
And the result should be like this:
var removed= " I am col 1
I am col 2
I am col 11 "