Substitute tokens in a StringTag(s): String/Number
Object[] params = new Object[]{"hello", "!"};
String msg = MessageFormat.format("{0} world {1]", params);
// hello world !
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com