note 104636 rejected from function.explode by danbrown
| From: | danbrown@php.net | Date: | Mon, 27 Jun 2011 14:43:55 +0000 |
| Subject: | note 104636 rejected from function.explode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180998@lists.php.net to get a copy of this message | ||
Note Submitter: hornik at vmshop dot cz
----
Hi i need little help
for example string AB-500CDR600AA+
i need to split string to numerical and other chars substrings.
in this case i need this output
$item[0] = AB-
$item[1] = 500
$item[2] = CDR
$item[3] = 600
$item[4] = AA+
how can i do this best and fastest way