Learn R Programming

R.oo (version 1.26.0)

trim: Converts to a string and removes leading and trailing whitespace

Description

Converts to a string and removes leading and trailing whitespace.

Usage

# S3 method for default
trim(object, ...)

Value

Returns a vector of character strings.

Arguments

object

A vector of R objects to be trimmed.

...

Not used.

Author

Henrik Bengtsson