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