I will try to make this simple and quick.. I have never attempted this before so I am a little lost.. What I want to do is to have a variable string (op20) that has a value based on a condition that is met.. Perhaps there is an easier way to accomplish this... Example:
string op20A = "5";
string op20D = "19";
string op20C = "6";
string op20E = "14";
string op20J = "15";
string op20Y = "21";
string op20raw = "R288319"
if (op20raw == "R288319") string op20 = op20A;
if (op20raw == "R288320") string op20 = op20D;
if (op20raw == "R288321") string op20 = op20C;
etc etc