+ 1
You can also use String.format("text with %args", arg1, arg2...). %s - a string argument. %d - a decimal argument. %c - a char argument. %t must be a time argument (milliseconds -> string date). For example: String.format("%d%s", 15, " test") will return "15 test".
27th Dec 2016, 3:59 PM
Daniil Fomichev