Is it possible to have a custom display of array values? [renamed]

to display the items from an array in a certain way, in two columns for instance
so that they fit into a dynamic textfield or maybe to force a break when theyre
displayed in one row