赞
踩
public static void main(String[] args) {
String text = "那就这样{0},或许本该如此{1}";
// java.text.MessageFormat;
text = MessageFormat.format(text, "吧", "!");
System.out.println(text);
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。