eating food with wine in it?

El
Is it okay to eat food with wine in it or is it the same thing as drinking wine? I want to make a recipe but it calls for 1/2 cup of dry white wine. Does anyone know what substitute there is for that?