title: Is there a simple way to remove multiple spaces in a string?
body: <p>Suppose this string:</p>
  
  <pre class="lang-none prettyprint-override"><code>The   fox jumped   over    the log.
  </code></pre>
  
  <p>Turning into:</p>
  
  <pre class="lang-none prettyprint-override"><code>The fox jumped over the log.
  </code></pre>
  
  <p>What is the simplest (1-2 lines) to achieve this, without splitting and going into lists?</p>