Use str_replace() rather than implode-explode