[PHP4BETA] split() behavior

From: Date: Wed, 26 May 1999 18:39:11 +0000
Subject: [PHP4BETA] split() behavior
Groups: php.version4 
Request: Send a blank email to php-version4+get-1082@lists.php.net to get a copy of this message
I'm working on preg_split now and wanted to clarify one thing. In the current version, if the string to be split has the defining regex at the very beginning, then the first value of the returned array will be an empty string. I've always wondered if it's really that useful. Couldn't it just be skipped? -Andrey * George Orwell was an optimist. * -- PHP 4 Beta

« previous php.version4 (#1082) next »