Find the longest substring consisting of 2 unique characters