title: R! remove element from list which start from specific letters
body: <p>I create a list of files:</p>
  
  <pre><code>folder_GLDAS=dir(foldery[numeryfolderow],pattern="_OBC.asc",recursive=F,full.names=T)
  </code></pre>
  
  <p>Unfortunately there is one additional object which i would like to remove (file name begin with <code>"NOWY" - NOWYevirainf_OBC.asc</code>).</p>
  
  <p>How can I find index of this element on list to remove it by typing:
  <code>folder_GLDAS&lt;=folder_GLDAS[-to_remove]</code> ??</p>