title: JAVA, interpolate n times the same variable with String.format
body: <p>I would like to interpolate the same variables n times using String.format method.</p>
  
  <p>For example with</p>
  
  <pre><code>String value = "hi";
  String interpolated = String.format(" %s %s %s %s ", value);
  </code></pre>
  
  <p>I expect</p>
  
  <pre><code>System.out.println(interpolated)
  // " hi hi hi hi "
  </code></pre>