这段代码:
<?php $curl=curl_init();
curl_setopt ($curl,CURLOPT_URL,"http://download.finance.yahoo.com/d/quotes.csv?s=XIN&f=l1c1p2rj1y&e=.csv");
curl_setopt ($curl,CURLOPT_HEADER,0);
ob_start();
curl_exec ($curl);
curl_close ($curl);
$data=ob_get_clean();
$data = explode(",",$data);
foreach ($data as $results)
echo "<td>$results</td>";
?>
在我的浏览器中产生这些结果: 2.80 +0.02 "+0.72%" 1.85 204.2M 1.44
我怎样才能让上面的 PHP 代码消除 "+0.72%" 周围的引号,所以最终结果只是: 0.72% ?