So basically I am having alot of trouble here. I have a user inputted string. Whatever the second character of the string is, that will become the variable name for a type long. Any idea how to do this? I'm doing this which is infinitesimally wrong where str is the variable of the String and value is just a value of type long.
long str.charAt(1) = value;