toHashSet

fun CharSequence.toHashSet(): HashSet<Char>

Returns a new HashSet of all characters.