
Thanks this works

On Fri, Jul 9, 2010 at 4:32 PM, Wu Gong [via R] <
ml-node+2284062-824667456-312346@n4.nabble.com<ml-node%2B2284062-824667456-312346@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]]

