Evaluating a String Expression- getting rid of the " " around text values
Feb 12, 2019 11:49 AM(1895 views)
I am trying to script a control chart with different trend rules that are flagged designated earlier in the code. I created a variable for the rules which leaves them in quotes " " when I evaluate it in a later expression. I was wondering if anyone knew how to work around this issue?
Tests = "Test 1 (1), Test 2(1)";
IR=Insert(Expr(Individual Measurement()), Eval Expr(Tests));
Charcol= Insert(Expr(Chart Col(:Name( "Bioassay IC50 ( pM )" ))), Name Expr(IR));
ccexpr = Expr( Control Chart( Sample Label( :Date Analyzed ), Group Size( 1 ), KSigma( 3 ),) );
cc=Insert(Name Expr(ccexpr), Name Expr(Charcol));
Where Bioassay is the y variable and data analyzed is the x label on the graph. Thanks!