Answers for "how to convert string to char array in kotlin"

1

kotlin string to char array

val _str: String = "Fahim"
var _charAr: CharArray = _str.toCharArray()
Posted by: Guest on August-09-2021
3

kotlin convert string to char array

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

Code answers related to "how to convert string to char array in kotlin"

Browse Popular Code Answers by Language