Well its ONE way... ;-) ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com
-----Original Message----- From: Sonny Savage [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 8:12 AM To: CF-Talk Subject: Re: Compare digits as strings not integers. Using compare() and compareNoCase() is really the right way. My only gripe is that the returned value isn't very intuitive. On Mon, Apr 28, 2008 at 5:57 PM, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > Just stick an alpha character in front of them when comparing or compare > len > AND value. > > ..:.:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > http://cf4em.com > > -----Original Message----- > From: Ian Skinner [mailto:[EMAIL PROTECTED] > Sent: Monday, April 28, 2008 4:08 PM > To: CF-Talk > Subject: Compare digits as strings not integers. > > <CFSET oldcompany = '033'> > <CFSET newcompany = '0033'> > > How would one compare these as strings and get a NOT equal result rather > then integers resulting in an equal result? > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304397 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4