title: How to split a string by spaces in a Windows batch file?
body: <p>Suppose I have a string "AAA BBB CCC DDD EEE FFF".</p>
  
  <p>How can I split the string and retrieve the nth substring, in a batch file?</p>
  
  <p>The equivalent in C# would be</p>
  
  <pre><code>"AAA BBB CCC DDD EEE FFF".Split()[n]
  </code></pre>