[R] trim a string

From: Omar Lakkis <uofiowa_at_gmail.com>
Date: Sat 18 Jun 2005 - 03:34:36 EST


How to trim the leading and trailing white space off of a string?

 If the variable is " E " I need to convert it to "E".



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 18 04:27:10 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:48 EST