Hi Eliot, or All. I have a big problem to solve, please see if you can help me.
Imagine i have this string:
"(a**2) - (b**2) + 4*a*b"
I want a code that goes through the string and substitute the values, like this:
a ====> alabama
b ====> boston
So, it would be like:
(alabama**2) - (boston**2) + 4*alabama*boston
Is there any way to do it???????? Thanks a lot.
Thanks Gordon And Eliot for the usefull help.
[This message has been edited by CarloFalci (edited January 16, 2000).]
Imagine i have this string:
"(a**2) - (b**2) + 4*a*b"
I want a code that goes through the string and substitute the values, like this:
a ====> alabama
b ====> boston
So, it would be like:
(alabama**2) - (boston**2) + 4*alabama*boston
Is there any way to do it???????? Thanks a lot.
Thanks Gordon And Eliot for the usefull help.
[This message has been edited by CarloFalci (edited January 16, 2000).]