toSet

Returns a Set of all characters.

The returned set preserves the element iteration order of the original char sequence.

Since Kotlin

1.0