The reason is that + has higher precedence than ==, so the String concatenation is performed first, and then the resulting String is compared with == to str2.
Also I would expect that when you fix the String concatenation problem, you won't get a false in the second statement. [ August 13, 2006: Message edited by: Keith Lynn ]