I think I have it and my apologies for spamming the list. I should not work this late on Sunday :-)
I think that it should be as.integer(regexpr("$$", my.text.vector) 2011/10/16 Henri-Paul Indiogine <hindiog...@gmail.com>: > > I tried the following > > as.integer(regexpr("??", my.text.vector) -- Henri-Paul Indiogine Curriculum & Instruction Texas A&M University TutorFind Learning Centre Email: hindiog...@gmail.com Skype: hindiogine Website: http://people.cehd.tamu.edu/~sindiogine ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.