kotlin-stdlib / kotlin.text / toList toList Common JVM JS Native 1.0 fun CharSequence.toList(): List<Char>(source) Returns a List containing all characters.