What does != do?

It checks if a string isn't equal to another stringIt checks if a string is equal to another stringIt checks if a string is less than another string

!= checks if a string isn't equal to another string.