Hello,

Still working on AdventOfCode

Im struggeling to see how this can be solved.

Now, a nice string is one with all of the following properties:

my game plan was this

1) group the characters and filter everything out which has a count not equal to two

2) find the indexes of the characters and with the indexes use a copy method so I have a substring out of it

3) do the same with the substring so again 1 and 2

but how can I make 2 work.

Roelof