Skip to content
Prev 229158 / 398500 Next

Function to return variable name

I'd like a function that returns the variable name.

As in:

MyData$Var1

Would return:

Var1

There should be a straightforward way to do this, but I can't see it.

Thanks,

Jeremy