Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java format use same value multiple times

String.format("%1$s %1$s %2$s %2$s", "hello", "world");
// hello hello world world
 
PREVIOUS NEXT
Tagged: #java #format #multiple #times
ADD COMMENT
Topic
Name
1+3 =