CSV Import Split by Comma - what to do about quotes?

Posted by Webnet on Stack Overflow See other posts from Stack Overflow or by Webnet
Published on 2010-05-14T15:17:05Z Indexed on 2010/05/14 15:44 UTC
Read the original article Hit count: 173

Filed under:
|
|

I have a CSV file I'm importing but am running into an issue. The data is in the format:

TEST 690, "This is a test 1, 2 and 3" ,$14.95 ,4

I need to be able to explode by the , that are not within the quotes...

© Stack Overflow or respective owner

Related posts about php

Related posts about regex