code: public static String format(String label) {
          if (label.isEmpty()) {
              return label;
          }
          if(Character.isDigit(label.charAt(label.length()-1))) {
              for (int i = label.length(); i > 0; i--) {
                  if(!Character.isDigit(label.charAt(i-1))) {
                      if(!Character.isLowerCase(label.charAt(i-1))) {
                          break;
                      }
                      label = label.substring(0, i) + " " + label.substring(i);
                      break;
                  }
              }
          }
          return StringProcessor.formatHumanReadable(label);
      }
docs: Format the given label by removing duplicated white spaces, underscores and camel cases.
  
  @param label the label to format.
  
  @return the formatted label.