!=

Compares two Strings for difference. The comparison is case-sensitive, meaning the String "hello" is not equal to the String "HELLO". Functionally the same as string.equals() myString1 != myString2
myString1: variable of type String. myString2: variable of type String. true: if myString1 is different from myString2. false: otherwise.