joinToText

fun joinToText(texts: List<Text>, separator: Text): Text

Concatenates the provided texts into one text with each piece separated by a line break

Return

A single text object with the provided texts concatenated and separated by the separator

Author

fzzyhmstrs

Since

0.7.5

Parameters

texts

List of text to concatenate

separator

Text to concatenate between text fragments provided in texts