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

Try this: