title: How to split string with "=" without for loop in batch file
body: <p>I would like split a string in two part with <code>=</code> as delimiter.</p>
  
  <p>I saw this <a href="https://stackoverflow.com/questions/14620709/how-to-split-string-without-for-loop-in-batch-file">post</a> but I do not manage ta adapt.</p>
  
  <p>I try this:</p>
  
  <pre><code>set "str=4567=abcde"
  echo %str%
  set "var1=%str:^=="^&amp;REM #%
  echo var1=%var1%
  </code></pre>
  
  <p>Why it does not work?</p>