jointostring kotlin
snippet in kotlin

jointostring kotlin

user7065

val commaSeperatedString = listOfStringColumn.joinToString { it -> "${it.nameOfStringVariable}" }
// output:  One, Two, Three, Four, Five