Does strsplit fit what you want? Tom
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, 24 February 2005 11:46 AM > To: r-help@stat.math.ethz.ch > Subject: [R] a simple question > > > Dear All, > > I need to separate one column which is in a format like, "can_region", > into two columns like, "can", and "region". Do we have a > function in R > to do this? Thanks. > > Regards, > > Jin > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html