title: How to split string without for loop in batch file
body: <p>I want to split a string in two parts, without using any for loop.</p>
  
  <p>For example, I have the string in a variable:</p>
  
  <pre><code>str=45:abc
  </code></pre>
  
  <p>I want to get <code>45</code> in a variable and <code>abc</code> in another variable. Is it possible in batch file?</p>
  
  <p>pattern is like somenumber:somestring </p>