Primitive question, but how do I format strings like this:

“Step {1} of {2}”

by substituting variables using Java? In C# it’s easy.

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *