note 14767 deleted from function.split by jeroen
| From: | jeroen@php.net | Date: | Wed, 29 Aug 2001 17:43:03 +0000 |
| Subject: | note 14767 deleted from function.split by jeroen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17329@lists.php.net to get a copy of this message | ||
I found an interesting little quirk - split refuses to operate correctly when a string contains an
apostrophe('). I had to str_replace apostrophe's with another character, and then put them
back after the split. Took me a while to figure out what was causing the split to fail on some of my
records, seemingly for no reason - perhaps this will save someone some time.