code: public static String fmtMsg(final String fmt, final String arg1, final String arg2) {
      Object[] o = new Object[2];
      o[0] = arg1;
      o[1] = arg2;
  
      return MessageFormat.format(fmt, o);
    }
docs: Format a message consisting of a format string plus two string parameters
  
  @param fmt
  @param arg1
  @param arg2
  @return String formatted message