code: public static String removeAllLineBreaks(Object o) {
          String s = str(o);
          return s.replaceAll("[\n\r]+", " ");
      }
docs: Remove all line breaks from string representation of specified object O
  
  @param o
  @return String