DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+1 =
Submit