There is no generic, built-in, way to do it in that release. For a particular file you could us this approach:
The CSV/Delimited node is configured to read in the data as if the data did not have a header record:
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/MessageImages/50d0de3b90974ada8ba07eca2c52ada0.png)
The note will then auto-generate field names:
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/MessageImages/efb6143111234913aee065ec7f7080c8.png)
A Transform node then configured to clean up the field names in the first data record:
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/MessageImages/1e390e943d8e46b98aff5864d49f7a71.png)
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/MessageImages/69d43b7b96444ddda4e854d80ec5dc2d.png)
Then an Output CSV/Delimited node is used to write the data to a new file. The node is configured to not write the header record (the auto-generated field names) so the first data line will become the header record in the output file:
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/MessageImages/66406df70ab84a57b6d617e609baf8b0.png)
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/MessageImages/921606d823c648feb39828e609d89fb2.png)
See the attached zipped .lna file.
------------------------------
Adrian Williams
Precisely Software Inc.
Naperville IL
------------------------------
Original Message:
Sent: 06-16-2022 09:34
From: Scott PERRY
Subject: How to load fields from csv file, using a CSV/Delimited input node, that contain an apostrophe
Hi Adrian
I don't see SubstituteInvalidCharachters as an option on the CSV/Delim node. (v3.6.3.6520).
Is there a way for me to manually define it or other approach?
Thanks
Scott
Original Message:
Sent: 06-16-2022 08:59
From: Adrian Williams
Subject: How to load fields from csv file, using a CSV/Delimited input node, that contain an apostrophe
Hi Scott,
you can use the 'SubstituteInvalidCharacters' property:
![](https://higherlogicdownload.s3.amazonaws.com/PRECISELY/MessageImages/78d8319a6b5240a4a9af813c6f9d8176.png)
Regards,
Adrian
------------------------------
Adrian Williams
Precisely Software Inc.
Naperville IL
Original Message:
Sent: 06-06-2022 10:36
From: Scott PERRY
Subject: How to load fields from csv file, using a CSV/Delimited input node, that contain an apostrophe
Hi Support team,
Please can you advise how to load fields from csv file, using a CSV/Delimited input node, that contain an apostrophe?
example field name - "Participant's LEI".
It can load the data if I specify all the field names in the "Field Names" option in the node but remove the apostrophe from the name e.g. "Participants LEI" (i.e. without the apostrophe). As i dont know all the field names up front for all my files that i want to load then this approach wont work for me so need a better solution.
thanks
Scott