<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[comparare due array]]></title><description><![CDATA[<p dir="auto">Salve a tutti, ho due array, e vorrei confrontarli, uno  è più corto, l'altro ha detgli elementi in più.<br />
Devo stampare a video una stringa che contiene "solo" i valori che non sono presenti ne nel primo array, ho provato questo codice, ma non è dei migliori:</p>
<pre><code>intEst = "el1, el2, eln"
intEstDef = "el1, el2, elnn"

arrIntEst = split(intEst,",")
                ArrIntEst2 = split(arrIntEstDef,",")
                for i = 0 to UBound(arrIntEst)
                    for y = 0 to Ubound(arrIntEst2)
                        if arrIntEst(i) = arrIntEst(y) then
                            exit for
                        elseif arrIntEst.eof then 
                            Response.Write(arrIntEst(i))
                          
                        end if
                    next
                next
</code></pre>
<p dir="auto">ho provato a stampare a video, ma nella fase di comparazione, si verifica sempre che gli elementi degli array non sono uguali.</p>
<p dir="auto">dove sbaglio???</p>
]]></description><link>https://dev.connect.gt/topic/102848/comparare-due-array</link><generator>RSS for Node</generator><lastBuildDate>Mon, 30 Nov 2026 23:31:36 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/102848.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Jun 2009 10:43:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to comparare due array on Wed, 10 Jun 2009 09:26:16 GMT]]></title><description><![CDATA[<p dir="auto">arrIntEst(i) = arrIntEst(y)  non dovrebbe essere arrIntEst(i) = arrIntEst2(y) ?</p>
]]></description><link>https://dev.connect.gt/post/835146</link><guid isPermaLink="true">https://dev.connect.gt/post/835146</guid><dc:creator><![CDATA[cali1981]]></dc:creator><pubDate>Wed, 10 Jun 2009 09:26:16 GMT</pubDate></item></channel></rss>