how to compare tow string in swift code example Example: swift compare strings print("foo".elementsEqual("bar")) //false