code: static String formatName(String name)
     {
        return name == null ? null : name.replaceAll(" ", "").replaceAll("[,;]", ", ");
     }
docs: Format the name of the statistics in the target format
  @param name the name of the statistics requested
  @return the formated statistics name