# Evaluating a String that is a Variable [duplicate]

I have a Variable assigned a value, say

ImportantDocuments=1

How do I make

N["ImportantDocuments"]

evaluate to be

1

• To be pedantic, it is not possible to do that, since N[...] will give you 1., not 1 :D Jokes aside, to answer your question, look up Symbol and ToExpression. – rm -rf Jan 8 '14 at 2:07