note 14767 added to function.split.php

From: Date: Tue, 14 Aug 2001 06:48:08 +0000
Subject: note 14767 added to function.split.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16674@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. http://www.php.net/manual/en/function.split.php

« previous php.notes (#16674) next »