View Single Post
Old 04-08-2008, 03:26 AM   #2 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

PHP Code:
$array['a'][0] = '';
$array['a'][1] = ' B';
$array['a'][2] = 'C-';

$str trim(implode(' - '$array['a']), " -");
echo 
'X'.$str.'X'
should do the trick.
delayedinsanity is offline  
Reply With Quote