Did you look at ListCompare ( http://www.cflib.org/udf.cfm?ID=149 ) ?
ListDiff ( http://www.cflib.org/udf.cfm?ID=660 ) ? listsAreDistinct (
http://www.cflib.org/udf.cfm?ID=960 ) ? 

One of those sounds like it'll do what you want.


-----Original Message-----
From: Joel Watson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 06, 2007 10:41 AM
To: CF-Talk
Subject: Comparing two arrays or lists

I have two lists that I want to compare and be able to show the
resulting differences.  For example, if my first list has 1,2,3,4 and
the second has 1,2,4,4, I want to be able to output that "3" and "4" are
different.

What would be the best way of going about this?  I applied the
"arrayCompare" UDF from cflib, but it only outputs a bollean for the
entire comparison.  I would like to be able to compare on a more
detailed level and output the results.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271736
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to