Given a string as \'mississippi\' I can use for-loop to compare and get the first unique characters of the similar ones (eg. ss, i, pp) easily. But I wonder if there\'s more ele