"Fixed delimited file" text file has different column length

Hi everyone, I am trying to export a Fixed Delimited File into a txt file, but when file is exported the length is different from the specification.

In the following image I show the length before and after the file was exported

I used this forum response to create the file.

Thank you

Create a Fixed Delimited File.knwf (26.5 KB)
Fixed Delimited File.txt (15.5 KB)

The problem is the way you’ve configured the CSV Writer node.

You’ve chosen to use a comma as a delimiter:
image

But then you’ve chosen to replace the delimiter (i.e. all commas) with nothing:
image

It’s clear when you look at the actual data, which is something you should always be doing.

Row 1 before CSV Writer:
image

Row 1 after CSV Writer:
image

All the commas are gone, which of course changes the lengths.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.