Description
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()
Syntax
myString1 == myString2
Parameters
myString1
: a String variable.
myString2
: a String variable.
Returns
true
: if myString1 equals myString2.
false
: otherwise.