Regarding removing spaces between terms in Mathematica

472 views Asked by At

I have been generating some mathematical expressions using FORM (symbolic manipulation system). The expression I get then needs to be passed to Mathematica for further analysis.

The problem I get is basically this: when I simply copy the output and then paste it from FORM to Mathematica, I do get spaces between terms (like I get some red color on mathematical operations - addition, subtraction etc. - and/or the variables I defined).

What I do then is basically use a brute force and remove all these spaces between terms and continue the analysis. However, as you might guess this is a cumbersome process and time consuming for very long expressions.

I would like to now if you know some trick to save some time. I do remember that there was a trick that I used to do but unfortunately I can't recall it right now.

Thanks in advance.

0

There are 0 answers