in reply to Semicolon delimited to Comma delimited
ww lists your technical options nicely; either use splitand join and prepare to reinvent the wheel for handling edge cases, or look into mucking about with Perl's internal handlers.
That said, this is the first time I've ever heard of using semi-colons instead of commas in a Comma-Separated Values (CSV) file (.csv).
I have, of course, heard of using tabs in a Tab-Separated Values (TSV) file (.tsv).
The pedantic engineer in me is curious why it isn't called an SDV SSV or SCDV SCSV file (Semi-Colon-Delimited-Separated Values File), but I suppose the answer is that when people start tossing terms around, the original context is frequently lost, and whoever made the decision to change the standard either was ignorant of what CSV actually meant, or worked at Microsoft.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Semicolon delimited to Comma delimited
by swatzz (Novice) on Apr 23, 2015 at 13:56 UTC | |
by marinersk (Priest) on Apr 23, 2015 at 16:09 UTC | |
by swatzz (Novice) on Apr 24, 2015 at 13:59 UTC | |
by dasgar (Priest) on Apr 24, 2015 at 16:18 UTC | |
by marinersk (Priest) on Apr 24, 2015 at 16:14 UTC |