Alternate record delimiter

Scott Klement's tool for processing CSV files in an RPG program. http://www.scottklement.com/csv/
Post Reply
bsnuggs
Posts: 1
Joined: Fri Oct 20, 2023 4:08 pm

Alternate record delimiter

Post by bsnuggs »

I'm trying to read a CSV that has some large fields in it that have LF's. The programs treats the LFs as record delimiters. Can I pass a parameter to a function that forces it to use CR+LF as the record delimiter?
Scott Klement
Site Admin
Posts: 732
Joined: Sun Jul 04, 2021 5:12 am

Re: Alternate record delimiter

Post by Scott Klement »

Right, it treats the LF as the delimiter. If there's a CR found, it just pretends it's not there.

You'd have to modify the code to work differently... since it's open source, you're able to do that.
Post Reply