Swift – Check if Strings are Not Equal To check if Strings are not equal in Swift, we can use not equal to != operator and provide the two strings as operands to this not equal to operator. Not Equal to operator returns true if the strings are not equal, or false if the strings are equal.