I get string input like: 1+2*5+sin100-2
and In order to calculate it I need to make array that will look like:
1,+,2,*,5,+,sin,100,-,2
Is there easy solution to do this problem? Currently I am doing it with loop on all the chars in the string but I want to know if c# offer easiest solution to this problem.