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 <cfprocessingdirective pageencoding="UTF-8">
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 thingy
i kinda dont trust it now...

Thanks!
-m


On Fri, Feb 28, 2014 at 6:47 AM, Adam Cameron <[email protected]> wrote:

>
> 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 over the array, either doing a compare() if the
> value is simple (output both values, and the comparison result), or
> re-calling itself if it's an array.
>
> I'm interested to know what your data is in that you've found a
> two-dimensional array is the best fit for a data-type. That's pretty rare
> in business applications (which most CFML apps are, so assuming yours is
> too).
>
> --
> Adam
>
>
> On 28 February 2014 11:29, Byron Mann <[email protected]> wrote:
>
> >
> > 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" <[email protected]>
> > wrote:
> >
> > >
> > > 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 in the
> query's
> > >
> > >
> > > i am using cf9 locally and 10 on the server.
> > > how can i force the different record(S) to display.
> > >
> > > thanks a bunch, -m
> > >
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357792
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to