I’ve got a table, where each row is a new line of text. I want to output a block of text below the table that puts each row of that table on a new line.
So the following table:
Has a block of text below that automatically generates and looks like:
Hello
My name is Steve
Goodbye
I can’t get it to do this without inserting commas. I’ve been trying something along the lines of:
(=FormulaMap([Table1],concatenate(Column 1,character(10)))
I had the same problem. I found that wrapping my entire formula within Concatenate() did the trick!
So something like:
Concatenate(
the().rest().of.my.formula()
)
gives me a flattened string without commas in Coda.
Then if I want to have linebreaks between each value in my formula, I had to get a bit hackier with the formula, combining FormulaMap with Concatenate
Concatenate(
the().rest().of.my.formula()
## using FormulaMap + Concatenate to add a new line after each element in the list
.FormulaMap(
Concatenate(
CurrentValue.ToText(),
LineBreak()
)
)
)