title: Removing whitespace in string
body: <p>I have the following code:</p>
  
  <pre><code>  program main
       character (len=15) :: abc = "te st tex  t"
       print *, trim(abc)      
    end program main
  </code></pre>
  
  <p>Which outputs:</p>
  
  <pre><code> te st tex  t
  </code></pre>
  
  <p>I excepted all the whitespace to be removed but it wasn't. How can I remove all the whitespace from the string?  </p>