ciąg Kotlin do tablicy

val str = "abcd"
val array: Array<String> = str.toCharArray().map { it.toString() }.toTypedArray()
VasteMonde