Re: [R] match first consecutive list of capitalized words in string

2011-11-11 Thread Richter-Dumke, Jonas
e: [R] match first consecutive list of capitalized words in string On Tue, Nov 8, 2011 at 7:48 AM, Richter-Dumke, Jonas wrote: > Dear R-Helpers, > > this is my first post ever to a mailing list, so please feel free to point > out any missunderstandings on my side regarding the co

Re: [R] match first consecutive list of capitalized words in string

2011-11-09 Thread Gabor Grothendieck
On Tue, Nov 8, 2011 at 7:48 AM, Richter-Dumke, Jonas wrote: > Dear R-Helpers, > > this is my first post ever to a mailing list, so please feel free to point > out any missunderstandings on my side regarding the conventions of this > mailing list. > > My problem: > > Assuming the following charac

Re: [R] match first consecutive list of capitalized words in string

2011-11-09 Thread Peter Alspach
Tena koe Jonas Something like the following may help, although you should probably read the help on regexpr regarding locales. Names <- c("filia Maria", "vidua Joh Dirck Kleve (oo 02.02.1732)", "Bernardus Engelb Franciscus Linde j.u.Doktor referendarius sereniss Judex et gograven Rheinensis")