MoneyWorks Manual
Edit
ConcatAllWith (separator, text, ...)
Result Type: text
Definition: Concatenates the text strings passed as parameters, separating each by separator. This is equivalent to using the “+” operator.
Examples: ConcatAllWith(", ", "Finn", "Conan", "", "Diarmaid")
returns “Finn, Conan, , Diarmaid".
ConcatAllWith(", ", ExpandDetail("Detail.ProductCode"))
returns “MW100, FD100, CONGCC" if there are three detail lines in the transaction containing those three product codes.