In PHP there is a macro called makepretty which replaces double negatives in a string with a positive sign. There are other versions too (polymakepretty, makexxpretty) that replace 1x with x and eliminate things like +0.
Is there some similar functionality in CL? To mimic makepretty in CL, I’ve created dynamic strings using the when-otherwise switch, but it’s fairly cumbersome. Is there an easier way to clean up strings with math symbols?