java format use same value multiple times
String.format("%1$s %1$s %2$s %2$s", "hello", "world");
// hello hello world world
Are there any code examples left?
New code examples in category Java
String.format("%1$s %1$s %2$s %2$s", "hello", "world");
// hello hello world world