How to Format a Variable Text, to Produce Uniform Column Table?

It was a good question and harvested well, not only because it clearly showed:

  • a sample of input,
  • and a sample of target output

but also, I think, because it touches on some very general and recognisable problems that everyone bumps into:

  • splitting each of several rows into column cells
  • specifying alignment or centering for each column
  • getting the minimum width of each column from column contents
  • choosing a (possibly non-space) padding character for the justification or centering
  • specifying any additional whitespace padding

I wonder if it would be useful to have a (custom or buillt-in) KM action for tabulation of delimited rows ?

1 Like