المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Parse Parenthesis Block in String



C# Programming
07-10-2009, 07:12 PM
How can I parse parenthesis block in string?

For example I have formula in string format.

((10+5)*3/(2+1))+7

I want to add stack to following order;

(10+5)
*
3
/
(2+1)
+
7


Thanks...