err, "is" is functionally equivalent to "eq" > -----Original Message----- > From: Peter Harrison [mailto:[EMAIL PROTECTED] > Sent: 11 December 2003 17:43 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] When two different strings are the same > > > How does <cfif tenzeros is elevenzeros> cope? > > - Peter > > -----Original Message----- > From: Paolo Piponi [mailto:[EMAIL PROTECTED] > Sent: 11 December 2003 11:37 > To: '[EMAIL PROTECTED]' > Subject: [ cf-dev ] When two different strings are the same > > > An unfortunate result of not having numerics and strings in CF: > > <cfset tenzeros="0000000000"> > <cfset elevenzeros="00000000000"> > <cfif tenzeros eq elevenzeros>These two strings are not the > same, but this > code thinks they are.</cfif> > > Don't ask why I did this, I can work round it, but just a > little quirk I > thought I'd share. > > Paolo > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > >
-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
