Scala Get Set of Chars от String

string.toStream.toSet
QuackAttack69