jeudi 26 mars 2015

java format string without all parameters

If I have the next string template:



String test_template = "\"%1$s\" (%2$s) (%3$s)";


Is there any way I can format it with 3rd parameter only?



MessageFormat.format(test_template, *here put only 3rd parameter*);

Aucun commentaire:

Enregistrer un commentaire