Export to Fixed-Width Format

Hi Dave,

with a bit of preparation you can use the “Export to delimited file” action to produce a fixed-width file. The logic is:

  • append the column headers as the 1st row
  • use function padstart() to pad values with spaces
  • export into a text file without headers and delimiters

See below an example:

export-fixed-width.morph (3.5 KB)