I have a string containing a mathematical operation (programmatically generated), something like
(1000 + 700) * (50 + 25) = (10000 - 5000) // it's an example
I need a method that I have to pass this string to it, and it will return true if the operation is valid else it will return false. Any ideas on how can I achieve this?