in reply to Re: CRLF in a csv
in thread CRLF in a csv
It handles "John said \"Hello\"". As a matter of fact, it handles it better than Excel, which creates a field that looks likeuse strict; use Text::ParseWords; undef $/; my $infile = (<>); my @fields = &parse_line("\n", 1, $infile); foreach (@fields) { s/\n/ /; print "$_\n"; }
John said \Hello\""
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: CRLF in a csv
by geofisch (Initiate) on Apr 05, 2001 at 00:59 UTC |