toCollection

Appends all characters to the given destination collection.

Since Kotlin

1.0