trim: Trim

Description Usage Arguments Value Examples

Description

Extract white spaces at the begining or end of a word.

Usage

1
trim(word)

Arguments

word

A string of characters posibly with white spaces at the beging or end of the string.

Value

Returns a string of characters, with leading and trailing whitespace omitted.

Examples

1
2
trim("        This is a String            ")
## return [1] "This is a String"


Search within the genArise package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.