How to find an object who has the same name of a variable in the inspector?

I recive the name from a variable in the inspector (This string comes from another program) and in the scene it will be always an object with the same name of that variable. How can I find the object without writing the name in the code. because the name could change anytime and another object shoud be selected.