title: Fortran: remove characters from a string
body: <p>How do I remove characters from a string?</p>
  
  <p>For example, I have a string called 'year', which I want to change from 4 characters to 2 chracters. It is defined like so:</p>
  
  <p><CODE>character(4) :: year = "2011"</CODE></p>
  
  <p>How do I truncate the string to 2 characters, so that instead of <code>year = "2011"</code>, it is <code>year = "11"</code>?</p>