!= operator compares two strings for equality. Returns true if any character in str1 is not the same as in str2. The number of characters compared is the equal to the length of the shorter string.
Usage:
bool result = str1 != str2;
Parameters |
Description |
const String& str |
String to compare with the original string. |
const NoCaseKey& strKey |
Insensitive key. |
A Boolean value of true if the strings are unequal otherwise false.