note 61365 deleted from function.str-split by aidan
| From: | aidan@php.net | Date: | Sat, 04 Feb 2006 07:13:32 +0000 |
| Subject: | note 61365 deleted from function.str-split by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-102956@lists.php.net to get a copy of this message | ||
Note Submitter: frj_php dot net at thederea dot com
----
another solution:
if ( !function_exists('str_split') ) {
function str_split($str) {
return preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
}
}
[please delete my previous code, there was a typo]