code: public static String format(String textPattern, Object... args) {
      return messageFormat(stringFormat(textPattern, args), args);
    }
docs: Formats the given {@link String} of text.
  
  @param textPattern {@link String} text pattern to format.
  @param args array of {@link Object} arguments to apply to the text pattern.
  @return a formatted {@link String} of text with the arguments applied to the text pattern.
  @see #messageFormat(String, Object...)
  @see #stringFormat(String, Object...)
  @see java.lang.String