kotlin string to char array code example Example: kotlin chararray to string val result: String = chars.joinToString("");