Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

trim

Converts to a string and removes leading and trailing whitespace


Description

Converts to a string and removes leading and trailing whitespace.

Usage

## Default S3 method:
trim(object, ...)

Arguments

object

A vector of R objects to be trimmed.

...

Not used.

Value

Returns a vector of character strings.

Author(s)

Henrik Bengtsson


R.oo

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.