title: Java generating Strings with placeholders
body: <p>I'm looking for something to achieve the following:</p>
  
  <pre><code>String s = "hello {}!";
  s = generate(s, new Object[]{ "world" });
  assertEquals(s, "hello world!"); // should be true
  </code></pre>
  
  <p>I could write it myself, but It seems to me that I saw a library once which did this, probably it was the slf4j logger, but i don't want to write log messages. I just want to generate strings.</p>
  
  <p>Do you know about a library which does this?</p>