I have a CharArray
whose contents are characters like:
val chars = arrayOf('A', 'B', 'C')
or
val chars = "ABC".toCharArray()
I want to get the string "ABC"
from this. How can I do it?
chars.toString()
does not work; it works as if chars
was a normal integer array.