Unique chars in a string two ways