title: How to pass character array into string
body: <p>I am wondering how could I go from a character array to several character strings. Indeed, I have a character array containing 17 file path.
  Lets say :</p>
  
  <pre><code>character, dimension(29,17) :: FILE_SIM_all
  character, length(29) :: FILE_SIM
  
  ! Declarations end
  
  FILE_SIM_all(1:29,1) = "/Users/toto/Documents/toto.nc"
  FILE_SIM_all(1:29,2) = etc...
  </code></pre>
  
  <p>I would like to convert recursively (inside a for loop with sim=1,17) the "sim" row of FILE_SIM_all to a character string. Lets say something like </p>
  
  <pre><code>do sim=1,17
      FILE_SIM(1:29) = FILE_SIM_all(1:29,sim)
  enddo
  </code></pre>
  
  <p>But I'm getting the following error when compilling my program :</p>
  
  <blockquote>
    <p>error #6366: The shapes of the array expressions do not conform.  [FILE_SIM]</p>
  </blockquote>
  
  <p>What am I doing wrong? Thanks !</p>