title: How to format strings in Java
body: <p>Primitive question, but how do I format strings like this:</p>
  
  <blockquote>
    <p>"Step {1} of {2}"</p>
  </blockquote>
  
  <p>by substituting variables using Java? In C# it's easy.</p>