title: String replacement in batch file
body: <p>We can replace strings in a batch file using the following command</p>
  
  <pre><code>set str="jump over the chair"
  set str=%str:chair=table%
  </code></pre>
  
  <p>These lines work fine and change the string "jump over the chair" to "jump over the table". Now I want to replace the word "chair" in the string with some variable and I don't know how to do it.</p>
  
  <pre><code>set word=table
  set str="jump over the chair"
  ??
  </code></pre>
  
  <p>Any ideas?</p>