We use the Jeks parser at present to evaluate expressions. I cannot see a way to evaluate string expressions with it - for example:
IF( "Test 1" = "Test 2")
Is there anything out there that can evaluate string and mathematical expressions in Java? Preferably free or open source.
Thanks for any help,
Andez
There are a lot of tools out there to evaluate expressions; the correct answer will depend on your exact goals.
Two things that I'd look at:
The answer was a posting on the Jeks forum. I got an answer from Manu. I thought it was not active especially as I could not register on it - but that got sorted.
But if anyone has the same problem then the following lines of code will get it working:
And to create the interpreter: