Re: array2.equals(array1) how to show difference?

2014-02-28 Thread Adam Cameron
Just a note: has no bearing whatsoever on the content of DATA, it only relates to the code within the file itself, so will not be relevant unless you are populating of of the arrays via actual code (which you are not, based on what you say here). -- Adam On 28 February 2014 14:41, morchella

Re: array2.equals(array1) how to show difference?

2014-02-28 Thread morchella
ok that may be it. i have trinmed and lcased every thing, stripped out the html et. one array is populated from oracle, the other from mysql. weeks ago i had to put in my cfc due to charecters coming in with odd junk. my reg cf comparison shows my data to be equal. just not using the .equals th

Re: array2.equals(array1) how to show difference?

2014-02-28 Thread Adam Cameron
Bear in minf that when you sue the .equals() method, you are using a *Java* method, so it will also be considering differences in type too (eg: Long vs Double, etc). Plus casing differences too. To check stuff at a CFML level, write a recursive function which takes both arrays, and which loops ov

Re: array2.equals(array1) how to show difference?

2014-02-28 Thread Byron Mann
Is it possible there is whitespace appended to some of the array values? Byron Mann Lead Engineer & Architect HostMySite.com On Feb 27, 2014 7:32 PM, "morchella" wrote: > > hey guys i have two, 2 dimensional arrays. > they have 3 columns. > > i have used #array2.equals(array1)# to show when the

array2.equals(array1) how to show difference?

2014-02-27 Thread morchella
hey guys i have two, 2 dimensional arrays. they have 3 columns. i have used #array2.equals(array1)# to show when they are difference and then just continue with normal logic. but now i have an instance where they say no the don't equal. but for the life of me i cant visually see the difference i