how can i check with input if single string is the same as full string?

why is that?