Jump to content

Recommended Posts

Posted

Basically here's what i did, i think i posted in the past about this but it didn't make sense.

Here's how it goes.

Here is what was copied,

2 + 4 =

$string = Clipget()

$data = StringRegExp( $string, "=", "" )

this is where i'm lost.

it's still a string rather than expression, what should i do to turn it into one?

so that when i do Msgbox

it won't come out as 2 + 4, but 6 instead.

In addition, what happens if let's say this comes up, 2², or 3². How how i change that into a 2^2 or 3^2 for a string (which i'll switch later on expression anyways)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...