preg_split problem

From: Date: Sat, 09 Nov 2002 16:58:14 +0000
Subject: preg_split problem
Groups: php.general 
Request: Send a blank email to php-general+get-123593@lists.php.net to get a copy of this message
Could someone tell me why isn't this working? $text = "And what did I tell you?"; list($one,$two,$three,$rest) = preg_split("/\s+/", $text); print($rest); The result would be "I" and not "I tell you?" Why?

« previous php.general (#123593) next »