Marc Schwartz escribió: > Using just the example data: > > >> table(substr(DF$Var1, 1, 7)) >> > > 1988-01 1988-02 1988-03 > 5 6 1 > This is just what I wanted! Many thanks Marc! BR Antonio > See ?substr for more information. > > HTH, > > Marc Schwartz > > > >