in reply to Re^2: Complex file manipulation challenge
in thread Complex file manipulation challenge
In Excel, there is some kind of formatting option to wrap a line onto another line depending upon the column width. There may be some kind of option to insert a GUI line break that doesn't appear in the CSV (maybe CTL-Enter)? Not sure that is possible.
However, you are quite correct in that multiple lines within a column is something to be considered -- think about a single field for an address instead of multiple columns for each line of the address.
All of the CSV files that I currently work with containing addresses are | delimited, have separate columns for each potential line of the address and disallow the | char within an address. So a bit of tunnel vision on my part! Sorry!
You are quite correct to point out this possibility.
BTW: I've seen CSV files with 512 or 1024 fields. These things can have humongous line lengths. Perl is very good at getting me the dozen or so fields that I care about.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Complex file manipulation challenge
by Tux (Canon) on Aug 14, 2019 at 06:32 UTC | |
by karlgoethebier (Abbot) on Aug 14, 2019 at 11:28 UTC | |
by afoken (Chancellor) on Aug 14, 2019 at 15:21 UTC | |
by karlgoethebier (Abbot) on Aug 14, 2019 at 17:30 UTC | |
by afoken (Chancellor) on Aug 14, 2019 at 22:53 UTC | |
|