note 52049 deleted from function.str-split by aidan

From: Date: Sat, 04 Feb 2006 07:15:32 +0000
Subject: note 52049 deleted from function.str-split by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-102972@lists.php.net to get a copy of this message
Note Submitter: shugotenshi at gmail dot com ---- It's best not to overcomplicate things with redundant PHP-side loops and start taking into consideration of preg_split() to simulate str_split()'s behavior for < PHP 5 versions. http://www.php.net/preg-split has an example of how to split strings by one character, but with a little regex knowledge you can easily use a quantifier to split by as many characters as you want.

« previous php.notes (#102972) next »