title: remove double spaces and replace them with a single one
body: <p>I need to remove empty spaces from a command executed.</p>
  
  <p>I use <code>set /p</code> to get the variable.</p>
  
  <p>If the user enters:</p>
  
  <pre><code>------what-----is---------my--------ip---------                        
  </code></pre>
  
  <p>...where <code>------</code> are empty spaces, I want to have the following result:</p>
  
  <pre><code>what is my ip
  </code></pre>
  
  <p>(There's only one space between the words)</p>