in reply to Re^2: Evaluate variable while using
in thread Evaluate variable while using

Thank you, that's exactly what i was looking for.

Be aware that stringy eval has some serious security implications: if you give it anything based on user input, you'll have built yourself a giant security hole, as it will happily execute any arbitrary code. I strongly recommend you use one of the many other suggestions in this thread instead.