# Strings

**URL:** <https://forum.kirupa.com/t/strings/204312>\
**Category:** flash\
**Created:** [October 18, 2006, 7:40pm UTC](https://forum.kirupa.com/t/strings/204312 "2006-10-18T19:40:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keyston](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@Keyston](https://forum.kirupa.com/u/Keyston)\
**Post date:** [October 18, 2006, 7:40pm UTC](https://forum.kirupa.com/t/strings/204312/1 "2006-10-18T19:40:02Z")

</div>

Well new to the forum, but not to flash. I been trying to code up a graphing calculator for a few days. I have got to the point were now iam working with trying to graph logs and other trig functions. SO what i have did was make a few functions that takes an equation the user inputs and turn it into flash code.

ie if the user puts in y=Log(42x²+19x+7) my final string will come out to FinalString:CommonLog(Math.pow(1,2)_42+1_19+7). Now i was wondering if anyone knew how i could evalute that Strings as if it was

var answer:Number=CommonLog(Math.pow(1,2)_42+1_19+7)

Right now if i do var answer:Number=FinalString i get undefined… anyway if anyone can point me to the right direction it will be greatly appreciated

ps… hope this makes sense :puzzle:
