I hve a input like this 12-(-13)+24 then output should be as 12+13+24 I should not add that only the symbol must change for example minus.minus=+
Hi @sruthesanju, what is the variable type of your input?
Please find the below screen shot for your reference. Try this and let me know whether it meet’s your expectation.
The value of ‘stringReplace’ is
Note: The variable type of ‘firstSplit & secondSplit’ should be in system.char
Feel free to reach us at any time if you have doubts. Thanks.
I need to check as mathematical expression as --=+ ,+-=+
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.