Answers for "convert kotlin string to array list each ,"

3

kotlin convert string to arraylist

val str = "abcd"
val array: Array<String> = str.toCharArray().map { it.toString() }.toTypedArray()
Posted by: Guest on May-20-2021

Code answers related to "convert kotlin string to array list each ,"

Browse Popular Code Answers by Language