Check out example codes for "jointostring kotlin". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com