<?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: ListToArray with empty elements</title>
	<atom:link href="http://www.rupeshk.org/blog/index.php/2007/06/listtoarray-with-empty-elements/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rupeshk.org/blog/index.php/2007/06/listtoarray-with-empty-elements/</link>
	<description>My Views on ColdFusion, Java and related technologies</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:41:45 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2007/06/listtoarray-with-empty-elements/comment-page-1/#comment-169</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Wed, 25 Jul 2007 16:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2007/06/01/listtoarray-with-empty-elements/#comment-169</guid>
		<description>You are right.. Somehow split(&quot;,&quot;, -1) works on ColdFusion 8 but not on 7. &lt;br/&gt;&lt;br/&gt;It will work fine if you change that to &lt;br/&gt;split(&quot;,&quot;, javacast(&quot;int&quot;, -1))&lt;br/&gt;&lt;br/&gt;Let me know if that works for you.</description>
		<content:encoded><![CDATA[<p>You are right.. Somehow split(&#8221;,&#8221;, -1) works on ColdFusion 8 but not on 7. </p>
<p>It will work fine if you change that to <br />split(&#8221;,&#8221;, javacast(&#8221;int&#8221;, -1))</p>
<p>Let me know if that works for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Luxes</title>
		<link>http://www.rupeshk.org/blog/index.php/2007/06/listtoarray-with-empty-elements/comment-page-1/#comment-168</link>
		<dc:creator>The Luxes</dc:creator>
		<pubDate>Wed, 25 Jul 2007 03:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2007/06/01/listtoarray-with-empty-elements/#comment-168</guid>
		<description>When I tried your code, I get this error:&lt;br/&gt;&lt;br/&gt;The selected method split was not found. Either there are no methods with the specified method name and argument types, or the method split is overloaded with arguments types that ColdFusion can&#039;t decipher reliably. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.&lt;br/&gt;&lt;br/&gt;Will this work on CF 7?</description>
		<content:encoded><![CDATA[<p>When I tried your code, I get this error:</p>
<p>The selected method split was not found. Either there are no methods with the specified method name and argument types, or the method split is overloaded with arguments types that ColdFusion can&#8217;t decipher reliably. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.</p>
<p>Will this work on CF 7?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2007/06/listtoarray-with-empty-elements/comment-page-1/#comment-167</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Thu, 07 Jun 2007 19:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2007/06/01/listtoarray-with-empty-elements/#comment-167</guid>
		<description>Thanks to Andrew Clark for the tip that split(&quot;,&quot;, -1) does the trick. Changed the code above to use the correct method which takes care of empty elements in the list.</description>
		<content:encoded><![CDATA[<p>Thanks to Andrew Clark for the tip that split(&#8221;,&#8221;, -1) does the trick. Changed the code above to use the correct method which takes care of empty elements in the list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2007/06/listtoarray-with-empty-elements/comment-page-1/#comment-166</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Sat, 02 Jun 2007 16:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2007/06/01/listtoarray-with-empty-elements/#comment-166</guid>
		<description>I posted another entry &lt;a HREF=&quot;http://coldfused.blogspot.com/2007/06/listtoarray-with-empty-elements-part-ii.html&quot; REL=&quot;nofollow&quot;&gt;here &lt;/a&gt; which has an UDF which does the same.</description>
		<content:encoded><![CDATA[<p>I posted another entry <a HREF="http://coldfused.blogspot.com/2007/06/listtoarray-with-empty-elements-part-ii.html" REL="nofollow">here </a> which has an UDF which does the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2007/06/listtoarray-with-empty-elements/comment-page-1/#comment-165</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Sat, 02 Jun 2007 15:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2007/06/01/listtoarray-with-empty-elements/#comment-165</guid>
		<description>@charlie&lt;br/&gt;oh ya.. you are right.. split() does not consider the empty elements at the end of the list.&lt;br/&gt;&lt;br/&gt;Since split() takes a regular expression, I think it should be possible to get it right. As I am not an expert in reg-ex, I tried doing it regular way and will post it in a separate post. I will ask some reg-ex experts in the team if we can get a simple reg-ex for this.</description>
		<content:encoded><![CDATA[<p>@charlie<br />oh ya.. you are right.. split() does not consider the empty elements at the end of the list.</p>
<p>Since split() takes a regular expression, I think it should be possible to get it right. As I am not an expert in reg-ex, I tried doing it regular way and will post it in a separate post. I will ask some reg-ex experts in the team if we can get a simple reg-ex for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie griefer</title>
		<link>http://www.rupeshk.org/blog/index.php/2007/06/listtoarray-with-empty-elements/comment-page-1/#comment-164</link>
		<dc:creator>charlie griefer</dc:creator>
		<pubDate>Fri, 01 Jun 2007 20:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2007/06/01/listtoarray-with-empty-elements/#comment-164</guid>
		<description>hi rupesh:&lt;br/&gt;&lt;br/&gt;i blogged this a little while back (http://cfblog.griefer.com/index.cfm/id/make_like_a_banana_and_split), and it was pointed out (accurately) in the comments that this method won&#039;t work if the LAST list element is empty.&lt;br/&gt;&lt;br/&gt;any workaround for that?&lt;br/&gt;&lt;br/&gt;thanks!&lt;br/&gt;charlie</description>
		<content:encoded><![CDATA[<p>hi rupesh:</p>
<p>i blogged this a little while back (<a href="http://cfblog.griefer.com/index.cfm/id/make_like_a_banana_and_split)" rel="nofollow">http://cfblog.griefer.com/index.cfm/id/make_like_a_banana_and_split)</a>, and it was pointed out (accurately) in the comments that this method won&#8217;t work if the LAST list element is empty.</p>
<p>any workaround for that?</p>
<p>thanks!<br />charlie</p>
]]></content:encoded>
	</item>
</channel>
</rss>

