View Single Post

  #4 (permalink)  
Old 12-06-2005
Ryan Dahl
 
Posts: n/a
Default Re: Newbie - Transforming string to calculation

On Tue, 6 Dec 2005 07:42:53 -0800, "Connector5"
<junkmilenko@charter.net> wrote:

>Building on Hilarion's response (eval is by far the simplest method) here is
>a function that can be used to remove potentially unsavory characters from a
>user-supplied formula.


[snip..]

>"Hilarion" <hilarion@SPAM.op.SMIECI.pl> wrote in message
>news:dn48rc$s24$1@news.onet.pl...

[snip..]
>> You can use "eval" function:

[snip..]

Thanks to the both of you. This was actually more straight forward
than expected.

Regards
Ryan
Reply With Quote