if string1 == string2 then -- do stuff if they are the sameend
if string1 ~= string2 then -- do stuff if they are not the sameend