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

not sure if its makes a difference but that “get all actor of class” is basically calling it self