note 98549 deleted from function.explode by danbrown

From: Date: Tue, 22 Jun 2010 13:43:31 +0000
Subject: note 98549 deleted from function.explode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170379@lists.php.net to get a copy of this message
Note Submitter: benf101 at gmail dot com ---- How to explode and trim the results in 4 lines: // Set your array using explode $meta_keys_arr = explode(",",$META_KEY); // replace the position with a trimmed version of the string foreach($meta_keys_arr as $k=>$v){ $meta_keys_arr[$k] = trim($v); }

« previous php.notes (#170379) next »