<?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: Compare Two Arrays</title>
	<atom:link href="http://www.eknori.de/2007-12-26/compare-two-arrays/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eknori.de/2007-12-26/compare-two-arrays/</link>
	<description>the weird world of eknori</description>
	<lastBuildDate>Tue, 27 Jul 2010 13:36:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Tamilselvi</title>
		<link>http://www.eknori.de/2007-12-26/compare-two-arrays/comment-page-1/#comment-3537</link>
		<dc:creator>Tamilselvi</dc:creator>
		<pubDate>Wed, 17 Feb 2010 11:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.eknori.de/archives/515#comment-3537</guid>
		<description>Hi
This formula is not working... even brackets for @sort and all missed.</description>
		<content:encoded><![CDATA[<p>Hi<br />
This formula is not working&#8230; even brackets for @sort and all missed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eknori</title>
		<link>http://www.eknori.de/2007-12-26/compare-two-arrays/comment-page-1/#comment-230</link>
		<dc:creator>eknori</dc:creator>
		<pubDate>Tue, 08 Jan 2008 10:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.eknori.de/archives/515#comment-230</guid>
		<description>Dmytro, thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Dmytro, thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmytro</title>
		<link>http://www.eknori.de/2007-12-26/compare-two-arrays/comment-page-1/#comment-229</link>
		<dc:creator>Dmytro</dc:creator>
		<pubDate>Tue, 08 Jan 2008 09:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.eknori.de/archives/515#comment-229</guid>
		<description>try my code, my approach more interesting, on my opinion :)
the idea is simple, we sort our arrays and convert them to string, then we will compare two string and will get the result.

advantage of my approach:
- more simple, just 1 line;
- faster;
- we can compare any number of arrays</description>
		<content:encoded><![CDATA[<p>try my code, my approach more interesting, on my opinion <img src='http://www.eknori.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
the idea is simple, we sort our arrays and convert them to string, then we will compare two string and will get the result.</p>
<p>advantage of my approach:<br />
- more simple, just 1 line;<br />
- faster;<br />
- we can compare any number of arrays</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmytro</title>
		<link>http://www.eknori.de/2007-12-26/compare-two-arrays/comment-page-1/#comment-228</link>
		<dc:creator>Dmytro</dc:creator>
		<pubDate>Tue, 08 Jan 2008 09:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.eknori.de/archives/515#comment-228</guid>
		<description>Function ArraysAreEqual (vA As Variant, vB As Variant) As Variant

        Dim rez As Variant
	rez = Evaluate({@implode(@sort(@Explode(&quot;} &amp; Join(vA, &quot;~&quot;) &amp; Join(vB, &quot;~&quot;) )

        if rez(0) = 0 then ArraysAreEqual = false else ArraysAreEqual = true

end function</description>
		<content:encoded><![CDATA[<p>Function ArraysAreEqual (vA As Variant, vB As Variant) As Variant</p>
<p>        Dim rez As Variant<br />
	rez = Evaluate({@implode(@sort(@Explode(&#8220;} &amp; Join(vA, &#8220;~&#8221;) &amp; Join(vB, &#8220;~&#8221;) )</p>
<p>        if rez(0) = 0 then ArraysAreEqual = false else ArraysAreEqual = true</p>
<p>end function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mirek Navratil</title>
		<link>http://www.eknori.de/2007-12-26/compare-two-arrays/comment-page-1/#comment-227</link>
		<dc:creator>Mirek Navratil</dc:creator>
		<pubDate>Sat, 29 Dec 2007 08:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.eknori.de/archives/515#comment-227</guid>
		<description>Thanks for sharing your code.
I just wonder if there is any particular reason to define the return variable as variant. I would suggest using integer or boolean instead. Is that for the sake of backward compatibility or is there any other reason?</description>
		<content:encoded><![CDATA[<p>Thanks for sharing your code.<br />
I just wonder if there is any particular reason to define the return variable as variant. I would suggest using integer or boolean instead. Is that for the sake of backward compatibility or is there any other reason?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
