one string named as: mytest.txt how can I remove the .txt and return the mytest only. i tried split substr, and grep didn't work it out, Thanks so lot -- View this message in context: http://r.789695.n4.nabble.com/String-truncate-tp2284045p2284045.html Sent from the R help mailing list archive at Nabble.com.
Do you mean substring? sub(".txt","", "mytest.txt") ----- A R learner. -- View this message in context: http://r.789695.n4.nabble.com/String-truncate-tp2284045p2284062.html Sent from the R help mailing list archive at Nabble.com.
Apparently Analagous Threads
- {worker} after :end-time worker freaks out
- Creating .Rout.save files for package subdirectory "tests"
- how can i write the function into a file c:/mytest.R with cat function?
- gsummary function (nlme library) (PR#8782)
- rspec model testing - test on user defined validation- How do I test that the create failed.