Thanks this works

On Fri, Jul 9, 2010 at 4:32 PM, Wu Gong [via R] <
ml-node+2284062-824667456-312...@n4.nabble.com<ml-node%2b2284062-824667456-312...@n4.nabble.com>
> wrote:

> Do you mean substring?
>
>  sub(".txt","", "mytest.txt")
> A R learner.
>
>
> ------------------------------
> View message @
> http://r.789695.n4.nabble.com/String-truncate-tp2284045p2284062.html
> To unsubscribe from String truncate, click here< (link removed) =>.
>
>
>

-- 
View this message in context: 
http://r.789695.n4.nabble.com/String-truncate-tp2284045p2284068.html
Sent from the R help mailing list archive at Nabble.com.

        [[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.

Reply via email to