Re: [R] eliminating string from a char vector

2008-06-21 Thread Marc Schwartz
on 06/21/2008 09:19 PM milton ruser wrote: Hi there, I have a list of filenames like a<-c("file1.dbf", "file32.dbf", "myfile_temp.dbf") and I would like to remove the ".dbf" string from all records and obtain somethink like file1 file32 myfile_temp Thanks in advance, miltinho brazil As is

[R] eliminating string from a char vector

2008-06-21 Thread milton ruser
Hi there, I have a list of filenames like a<-c("file1.dbf", "file32.dbf", "myfile_temp.dbf") and I would like to remove the ".dbf" string from all records and obtain somethink like file1 file32 myfile_temp Thanks in advance, miltinho brazil [[alternative HTML version deleted]] _