Re: CSV explode problem
| From: | Justin Patrin | Date: | Wed, 23 Jun 2004 15:19:55 +0000 |
| Subject: | Re: CSV explode problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188882@lists.php.net to get a copy of this message | ||
V Patel wrote:
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 <matijevich@alliancetechnologies.net> wrote:I have a function to do this. I'll send it in a few minutes (once I get to work). -- paperCrane <Justin Patrin>[snip] I have a csv string. But the string also contains other strings with commas. [/snip] is the csv coming from a file? if it is try http://www.php.net/manual/en/function.fgetcsv.php if not there is some user comments on that page that might help.