trim: Remove leading and trailing spaces from character strings
Description
Remove leading and traling spaces from character strings
Usage
trim(s)
Arguments
s
object to be processed
Value
s with all leading and traling spaces removed in its elements.
Details
trim is a generic function, where default method does nothing,
while method for character s trims its elements and method for
factor s trims levels. There are also methods for
list and data.frame.