[PHP] CSV explode problem

2004-06-23 Thread V Patel
I have a csv string. But the string also contains other strings with commas. Explode is not working with this kind of string. For example, 1,2,3,"this string gets parsed , at the comma" Result of explode(",",string) is 1 2 3 this string gets parsed at the comma But what I want is 1 2 3 this str

Re: [PHP] CSV explode problem

2004-06-23 Thread V Patel
Input is a large string. We have no control over the file, so its not coming from the file. Any help with parsing a string to replace those comma in string? On Wed, 23 Jun 2004 10:12:16 -0500, Matt Matijevich <[EMAIL PROTECTED]> wrote: > > > [snip] > I have a csv string. But the string also con

Re: [PHP] CSV explode problem

2004-06-23 Thread V Patel
Justing, I will be waiting for your response Thanks, vp On Wed, 23 Jun 2004 08:19:55 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote: > > V Patel wrote: > > > Input is a large string. We have no control over the file, so its not > > coming from the file. > > &

Re: [PHP] Re: CSV explode problem

2004-06-23 Thread V Patel
Thanks Justin. Works like a charm vp On Wed, 23 Jun 2004 08:48:57 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote: > > > V Patel wrote: > > > I have a csv string. But the string also contains other strings with commas. > > > > Explode is not working w