[R] substring

From: Qian R <qianrstudy_at_yahoo.com>
Date: Tue, 06 May 2008 10:55:31 -0700 (PDT)


I have a data frame such as    

  Name
  DISC1_5916
  DABC2_789
  ABCD_1234           I want to substring column Name so that    

  DISC1
  DABC2
  ABCD
  ...    

  Thanks.                



[[elided Yahoo spam]]

        [[alternative HTML version deleted]]



R-help_at_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. Received on Tue 06 May 2008 - 18:15:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 06 May 2008 - 19:30:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive