Comparing Strings

Dan Friedman dan at clearvisiontech.com
Tue Nov 14 15:42:11 EST 2006


In case your interested, here is the work-around I came up with for the
problem:

-------------------------------------------

put equalStrings("078e-16703","084E-11702")

function equalStrings string1,string2
  if length(string1) = length(string2) then
    if string1 is in string2 then
      return true
    end if
  end if
  return false
end equalStrings

-------------------------------------------

Pretty simple, I know... But it works  :)

-Dan



> How is this possible?  Put this in the message box:
>
>   put "078e-16703" = "084E-11702"
>
> Revolution (2.6.1) returns "true".  Any advise?
>
>
> Thank you in advance,
> Dan




More information about the use-livecode mailing list