two string not equal in swift 5 code example Example: swift compare strings print("foo".elementsEqual("bar")) //false