Right If I remember rightly this has been a topic before but how did it finish.

I have a STRING "123456" as a password.
And I want to change it to "0123456" but one if the rules is.

newpassword can't be equal to oldpassword.

I did this to check 

<CFSET a = "0123456">
<CFSET b = "123456">
<CFIF a IS b>0123456 IS 123456<CFELSE>Not equal</CFIF>

a the bar steward said they were equal. Did CF convert the string to a number before 
comparing.

Thanks

Allan

Reply via email to