exploding

From: Date: Wed, 25 Aug 2004 22:00:49 +0000
Subject: exploding
Groups: php.general 
Request: Send a blank email to php-general+get-194734@lists.php.net to get a copy of this message
Hi everyone. Is there a way to explode by every character in the variable? Example: $var = "00008"; $test = explode("", $var); output would be $test[0] = 0; $test[1] = 0; $test[2] = 0; $test[3] = 0; $test[4] = 8; Can I get an array like that? Thanks, Jake McHenry MIS Coordinator Nittany Travel http://www.nittanytravel.com 570.748.6611 x108

« previous php.general (#194734) next »