[R] trim a string

Omar Lakkis uofiowa at gmail.com
Fri Jun 17 19:34:36 CEST 2005


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




More information about the R-help mailing list