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: a String variable.
- myString2: a String variable.
- true: If myString1 is different from myString2.
- false: Otherwise.
※ NOTES AND WARNINGS:
If the string is modified, it is highly recommended using String.reserve() to prevent the memory fragmentation issue