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