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