I have come across a very strange scenario. In a function I will receive a string of condition to be evaluated.

E.g.

(a>b and (b=2 or c!=3))
Where a,b and c are my variable names.

I tried and searched a lot but didn't get anything meaningful.

So my question is: Is it possible to evaluate a string like this? If yes, please provide me some hint on this.