code: public static String humanize(final String input) {
          if (input == null || input.length() == 0) {
              return "";
          }
          return upperFirst(underscored(input).replaceAll("_", " "));
      }
docs: Converts an underscored, camelized, or dasherized string into a humanized one. Also removes beginning and ending whitespace.
  
  @param input The input String
  @return humanized version of String