首页 > 数字化转型 > ERP > MessageFormat
private static final String TEST= "aab{0}ccd";
MessageFormat msgFormat = new MessageFormat(TEST);
args[0] = "123";
String doc = msgFormat.format(args);
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/792140/viewspace-918454/ ,如需转载,请注明出处,否则将追究法律责任。