Hide minor edits - Show changes to markup
string1 == string2;
string1 == string2
string, string2: variables of type String
string1, string2: variables of type String
Compares two strings for equality. The comparison is case-sensitive, meaning the String "hello" is not equal to the String "HELLO". Functionally the same as string.equals()
string1 == string2;
string, string2: variables of type String
true: if string1 equals string2
false: otherwise