String comparison bug in Tiger but not Leopard ... Ideas?

Hi all …

I’ve got an if statement like. …



if _Variable is not ("Title A Goes Here

Line One goes here

Line Two Goes Here

Line Three Goes Here") then
			
			if _Variable is not ("Title B Goes Here

Line One goes here

Line Two Goes Here

Line Three Goes Here") then
				
				display dialog ("Error!") with icon 1 buttons {"Quit"}
				quit
				
			end if
		end if



The strings should match, and it works fine in leopard, but for some reason it always displays the error message in Tiger. Any ideas?

-Mel

Which is the character used as a line break in your original variable?
Is it the return character or the linefeed one ?

Yvan KOENIG