title: Direct indexing of function return value in Fortran
body: <p>Is there possibility to use indexing directly on a function's return value? Something like this:</p>
  <pre><code>readStr()(2:5)
  </code></pre>
  <p>where <code>readStr()</code> is a function which returns a character string or an array. In many other languages it is quite possible, but what about Fortran? The syntax in my example of course does not compile. Is there any other syntax to be used?</p>