[R] remove last char of a text string

glaporta glaporta at freeweb.org
Mon Jun 14 15:47:11 CEST 2010


Dear R experts,
is there a simple way to remove the last char of a text string?
substr() function use as parameter start end only... but my strings are of
different length...
01asap05a -> 01asap05
02ee04b -> 02ee04
Thank you all,
Gianandrea
-- 
View this message in context: http://r.789695.n4.nabble.com/remove-last-char-of-a-text-string-tp2254377p2254377.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list