How to change string to expression?
|
12-22-2013, 10:18 AM
Post: #1
|
|||
|
|||
How to change string to expression?
How do I change string for ex. "x+2" to expression 'x+2' inside a program and again expression back to string.
Thanks. |
|||
12-22-2013, 11:44 AM
(This post was last modified: 12-22-2013 12:09 PM by Snorre.)
Post: #2
|
|||
|
|||
RE: How to change string to expression?
Maybe EXPR(myStr) or CAS(myStr) or CAS("'"+myStr+"'") [depends on if and where you want it evaluated]. And back via STRING(...).
|
|||
12-22-2013, 09:44 PM
Post: #3
|
|||
|
|||
RE: How to change string to expression?
Thanks, CAS(myStr) works.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)