title: How do I remove repeated spaces in a string?
body: <p>I have a string:</p>
  
  <blockquote>
    <p>"foo (2 spaces) bar (3 spaces) baaar (6 spaces)  fooo"</p>
  </blockquote>
  
  <p>How do I remove repetitious spaces in it so there should be no more than one space between any two words?</p>