How to get used variable names in an expression?

Nov 3, 2014 at 12:19 PM
How to get the list of used variables in an expression

is there any method or property which will list the variables X and Y as used and any other variable passed for evaluation as unused.

I am concerned with the used variables.

Thanks in Advance