joinToText

fun <T> Collection<T>.joinToText(separator: Component, prefix: Component? = null, postfix: Component? = null, transform: Function<T, Component>): Component


fun Collection<Component>.joinToText(separator: Component): Component

Joins a list of Component into a single Component with the given separator.