note 34542 rejected from function.preg-split by didou

From: Date: Wed, 30 Jul 2003 12:46:20 +0000
Subject: note 34542 rejected from function.preg-split by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53003@lists.php.net to get a copy of this message
Note Submitter: techsupport@bestuse.de ---- i'm German, so sorry for my English. I've a prob, so maibe someone can help me: i try to do split a string, but there are no separators in it. what i've got is for example: 123abc456def the split i need is: $ar[0] -> "123" $ar[1] -> "abc" $ar[2] -> "456" $ar[3] -> "def" it can also be: abc123def456 $ar[0] -> "abc" $ar[1] -> "123" $ar[2] -> "def" $ar[3] -> "456" the split - function i need must split both of examples you can mail me, thx for help

« previous php.notes (#53003) next »