I'm having trouble trimming all the whitespaces(tab, etc.) for a given string. I've tried a number of recommended solutions, but have yet have any sort of luck.
for example
["7 ", " +", "1", "/" "0""]
needs to return
["7","+","1","/","0"]
Another aspect to consider is that
string[] substrings = Regex.Split(exp, "(\\()|(\\))|(-)|(\\+)|(\\*)|(/)");
must also be used, and I'm working on a passed in string.
forandTrimeach?