add_str function

Combine additive terms in string