New answers tagged


I would simply produce multiline output into one string variable, and then strip whitespace from the multiline output and put the result into another string variable. If the stripped output is greater than your maximum line length, out() returns the multiline output. Otherwise, it returns the stripped output.

Top 50 recent answers are included