Kotlin joinToString 🧐

joinToString is a useful method to convert one list to a string.

Official doc

It can be used with a custom separator, prefix and postfix etc.