FM1
Structural
- Dec 16, 2001
- 67
Hello everyone!
Assuming that we have mathematical expression with several parentheses, how can a macro be written to pick up the string and replace second level parentheses with square brakets and the higher levels with curly brackets.
I have exhausted what little programing knowledge I have to come up with something, unfortunately the result has only been frustration.
If any one of you knows how to approach this please let me know. Or if anyone has any such code and cares to share, it will be greatly appreciated.
Much thanks.
FM
Assuming that we have mathematical expression with several parentheses, how can a macro be written to pick up the string and replace second level parentheses with square brakets and the higher levels with curly brackets.
I have exhausted what little programing knowledge I have to come up with something, unfortunately the result has only been frustration.
If any one of you knows how to approach this please let me know. Or if anyone has any such code and cares to share, it will be greatly appreciated.
Much thanks.
FM