[R] How to trim the front of a string?

rok90 ivansek.labris at gmail.com
Sat Nov 21 22:05:08 CET 2009


Hey everybody!

I have a problem with triming a string. I can get rid of the blank space in
front and at the back of a string and even trim a string at the back. But I
don't know how to do it in the front.

For Example: I have a string "Blackberry" and i want to delete the first 5
characters to get just "berry".

Tnx for your help
-- 
View this message in context: http://old.nabble.com/How-to-trim-the-front-of-a-string--tp26459983p26459983.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list