Does strsplit fit what you want? Tom
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, 24 February 2005 11:46 AM > To: [email protected] > 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]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
