[R] String truncate

Wu Gong wg2f at mtmail.mtsu.edu
Fri Jul 9 22:32:59 CEST 2010


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.



More information about the R-help mailing list