Remove repetitive strings

Hi all,

I have a simple list with repeating string values, there are only 3 types of unique items. My strings are sorted and they form small groups. I don’t want to loose the sort order. I wish to replace every string that is the same as the previous one with blank value.

For example I would like to keep indexes [0], [5] and [11] from the list of the image below, and replace every other between them. Any ideas?

Great, I did not know about this Duplicate item indices node, thank you!

 

 

 

 

 

Hi Julian,

 

is this what your’re trying to do?

Solution 3:

Let’s see how many solutions we can come up with :slight_smile:

Solution 5

:)

Untitled6