title: How to subset dataframe by last characters of a string in R
body: <p>R-user,</p>
  
  <p>I have this dataframe:</p>
  
  <pre><code>head(Niger_Meteo_98.11)
    X.ID_punto    MM.GG.AA T2m_max  
  1          1    01/01/98 303.235 
  2          2    01/01/99 303.356 
  3          3    01/01/00 303.477 
  4          4    01/01/01 303.604 
  5          5    01/01/02 303.759 
  6          6    01/01/03 303.915 
  </code></pre>
  
  <p>and I need to get only values from year 2002.
  So, I should select, on column <code>MM.GG.AA</code>, those rows that end with "<code>/02</code>". 
  I didn't find anything online...any hints?
  Thanks!</p>