note 26206 added to function.preg-split

From: Date: Tue, 22 Oct 2002 12:07:50 +0000
Subject: note 26206 added to function.preg-split
Groups: php.notes 
Request: Send a blank email to php-notes+get-38417@lists.php.net to get a copy of this message
I have a birth date i want to split. It's build like this: $birth = 20011127 and i want to split it into three vars $1 should be "2001" $2 should be "11" $3 should be "27" How to do this??? Greets, Sander -- http://www.php.net/manual/en/function.preg-split.php http://master.php.net/manage/user-notes.php?action=edit+26206 http://master.php.net/manage/user-notes.php?action=delete+26206 http://master.php.net/manage/user-notes.php?action=reject+26206

« previous php.notes (#38417) next »