Jorge Ivan Velez wrote:
Dear John, Assuming that your information is in the list x, does substr(x,1,2) work for you? HTH, Jorge
thanks for your reply Jorge. i will try substr(). john ______________________________________________ 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.