note 112284 added to function.explode
| From: | carballot at gmail dot com | Date: | Mon, 27 May 2013 15:29:34 +0000 |
| Subject: | note 112284 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194968@lists.php.net to get a copy of this message | ||
Hi, I need help, i have this:
31,11981,"2,000.00",0.00,
I use: $aaDatos[$j]['linea'] = explode( ',' , $linea, 5);
And the that's my result:
1. 31
2. 11981
3. 2
4. 000.00
5. 0.00
But i need, my 4= 2000.00, i understand that's happens because "2,000.00" have "
, ", is there any trick to that?
thanks!
----
Server IP: 69.147.83.199
Probable Submitter: 187.147.58.181
----
Manual Page -- http://php.net/manual/en/function.explode.php
Edit -- https://master.php.net/note/edit/112284
Del: integrated -- https://master.php.net/note/delete/112284/integrated
Del: useless -- https://master.php.net/note/delete/112284/useless
Del: bad code -- https://master.php.net/note/delete/112284/bad+code
Del: spam -- https://master.php.net/note/delete/112284/spam
Del: non-english -- https://master.php.net/note/delete/112284/non-english
Del: in docs -- https://master.php.net/note/delete/112284/in+docs
Del: other reasons-- https://master.php.net/note/delete/112284
Reject -- https://master.php.net/note/reject/112284
Search -- https://master.php.net/manage/user-notes.php