Parsing Strings

From: Date: Sat, 06 Dec 2008 00:02:14 +0000
Subject: Parsing Strings
Groups: php.general 
Request: Send a blank email to php-general+get-284215@lists.php.net to get a copy of this message
OK, making good learning progress today. I have a string that is: Jason Slack and I want it broken at the space so i get Jason and then Slack I am looking at parse_str, but I dont get how to do it with a space. The example is using []=. Then I want to assign like: $fname = "Jason"; $lname = "Slack"; Any ideas? -Jason

« previous php.general (#284215) next »