<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Remove last comma of string in PHP</title>
	<atom:link href="http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/</link>
	<description>Optimal</description>
	<lastBuildDate>Fri, 20 May 2011 21:14:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: sNovak</title>
		<link>http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/comment-page-1/#comment-36639</link>
		<dc:creator>sNovak</dc:creator>
		<pubDate>Thu, 07 Oct 2010 17:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/#comment-36639</guid>
		<description>There&#039;s a better way to build that list. Use an array.  ie - 
$something = array();
$something[] = &quot;item&quot;;
$something[] = &quot;item&quot;;
$something[] = &quot;item&quot;;
$something[] = &quot;item&quot;;
implode( &#039;,&#039; , $something);</description>
		<content:encoded><![CDATA[<p>There&#8217;s a better way to build that list. Use an array.  ie &#8211;<br />
$something = array();<br />
$something[] = &#8220;item&#8221;;<br />
$something[] = &#8220;item&#8221;;<br />
$something[] = &#8220;item&#8221;;<br />
$something[] = &#8220;item&#8221;;<br />
implode( &#8216;,&#8217; , $something);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashish</title>
		<link>http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/comment-page-1/#comment-36624</link>
		<dc:creator>ashish</dc:creator>
		<pubDate>Tue, 05 Oct 2010 16:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/#comment-36624</guid>
		<description>thanks</description>
		<content:encoded><![CDATA[<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/comment-page-1/#comment-36425</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 06 Sep 2010 12:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/#comment-36425</guid>
		<description>thanks for good info. I prefer  rtrim($str,’,&#039;) because it&#039;s safer.</description>
		<content:encoded><![CDATA[<p>thanks for good info. I prefer  rtrim($str,’,&#8217;) because it&#8217;s safer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/comment-page-1/#comment-35773</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Tue, 18 May 2010 03:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/#comment-35773</guid>
		<description>I created I dynamic query with checkboxes for the fields needed in the query. after removing the white space I needed something to remove the last comma in the string and that did it, cheers</description>
		<content:encoded><![CDATA[<p>I created I dynamic query with checkboxes for the fields needed in the query. after removing the white space I needed something to remove the last comma in the string and that did it, cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fer</title>
		<link>http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/comment-page-1/#comment-35003</link>
		<dc:creator>Fer</dc:creator>
		<pubDate>Mon, 08 Feb 2010 15:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/#comment-35003</guid>
		<description>Muy bueno su blog me salvó el problema de eliminar la última coma. ¡Muchas Gracias!, sigan así
Fer</description>
		<content:encoded><![CDATA[<p>Muy bueno su blog me salvó el problema de eliminar la última coma. ¡Muchas Gracias!, sigan así<br />
Fer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/comment-page-1/#comment-33404</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Fri, 23 Oct 2009 19:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jontodd.com/2006/09/11/remove-last-comma-of-string-in-php/#comment-33404</guid>
		<description>Quick &amp; simple, thanks!</description>
		<content:encoded><![CDATA[<p>Quick &amp; simple, thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

