Delete the return key from the input

I connected the text object to the text entry. I want to write a word, then press the return key to compare that word to a list of words that make actions. For example, i want to write “movedown”, then press the return key to compare “movedown” with a list of actions that moves an object, like the console in Valve games.

The problem here is that the return key Is detected by the text entry and the word “movedown” isnt recognised as the word that moves the object down.

I want to delete the return key from the text input, but i dont know how to do that.

Please help :’(
Sorry about my english, it isnt my first language…

Please don’t create a new topic for the same question.