On Wed, 26 Feb 2003 17:34:10 +1100, Clinton wrote:
> I'm trying to parse an uploaded csv file. From the HTTP info I have a string
> that looks like this
> ...
> Unfortunately if the CSV file has punctuation (Wilfred De'Silva) everything
> falls in a heap.
> How can I pull out the data without rely
n" <[EMAIL PROTECTED]>
To: "'Clinton'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 6:57 PM
Subject: RE: parsing uploaded csv file from HTTP
>
> It's late so maybe I'm missing something, but here's one way:
&
ecords = split(/,/,$data2);
Then it's all in a neat little array. This is, of course, assuming that you
don't have any data in your file that has a comma in it...
-Original Message-
From: Clinton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 10:34 PM
To: [EMAIL PROTE
Hi
I'm trying to parse an uploaded csv file. From the HTTP info I have a string
that looks like this
Content-Disposition: form-data; name="afile";
filename="C:\myfolder\mytest.csv" Content-Type: application/octet-stream
12345678,John Doe 79696676,Superman 215154552,Wilfred DeSilva 216215,Bart
Sim