hi hema may be strsplit can help on the job.
bests. milton On Tue, Jul 7, 2009 at 3:54 AM, Hemavathi Ramulu <hema.ram...@gmail.com>wrote: > Hi everyone, > Hi want to separate the string(column1) for example > > column1 column2 column3 column4 column5 column6 > bear b e a r > cat c a t > tiger t i g e r > > I know how to do this in excel where using MID function. > Now I want to solve it using R. The list of strings is in text file. I > looked up the help but did not find it. > Can someone help me here?H > > Thank you very much. > > Regards, > Hema > > [[alternative HTML version deleted]] > > ______________________________________________ > 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<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ 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.