title: C# String.Format() Equivalent in PHP?
body: <p>I'm building a rather large Lucene.NET search expression. Is there a best practices way to do the string replacement in PHP? It doesn't have to be this way, but I'm hoping for something similar to the C# String.Format method. </p>
  
  <p>Here's what the logic would look like in C#.</p>
  
  <pre><code>var filter = "content:{0} title:{0}^4.0 path.title:{0}^4.0 description:{0} ...";
  
  filter = String.Format(filter, "Cheese");
  </code></pre>
  
  <p>Is there a PHP5 equivalent?</p>