flatMapTo

inline fun <R, C : MutableCollection<in R>> CharSequence.flatMapTo(destination: C, transform: (Char) -> Iterable<R>): C(source)

Appends all elements yielded from results of transform function being invoked on each character of original char sequence, to the given destination.

Since Kotlin

1.0