split()?

From: Date: Wed, 15 Jun 2005 00:13:03 +0000
Subject: split()?
Groups: php.general 
Request: Send a blank email to php-general+get-216985@lists.php.net to get a copy of this message
How would I do this ? Take this string and return everything between [ ] as an array output doesnt have to inlude [ ] $rr="thisscritjajsj[ OUT1 ]ajdamsda;sjo;tkpdk[ OUT2 ]sdfmjs[ OUT3 ]dfjlsd"; $a = some function echo '<pre>'; print_r($a); [0] => [ OUT1 ] [1] => [ OUT2 ] [2] => [ OUT3 ] Thanks

« previous php.general (#216985) next »