Now, a nice string is one with all of the following properties:
xyxy
(xy) or aabcdefgaa (aa),
but not like aaa (aa, but it
overlaps).xyx, abcdefeghi
(efe), or even aaa.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