Operator substitution

I have a string input
DIVIDE(SUM(rule(A),rule(B)),SUBTRACT(rule©,rule(D)))
Which needs to be substitute by their operator
O/P should be:
(A+B)/(C-D)

How can we achieve this in knime?

Can we achieve it in knime ?

Hello @sahil786,

is this same issue/project as described here?

Would suggest to use scripting (Java, R, Python, Column Expressions - JavaScript) to achieve your goal. With KNIME native nodes I don’t see a straightforward solution for more complex formulas.

Br,
Ivan

Yes @ipazin…project is same but requirement is bit different.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.