Trim: Remove Leading/Trailing White Space

Description Usage Arguments Value Examples

Description

Remove leading/trailing white space.

Usage

1
Trim(x)

Arguments

x

The text variable.

Value

Returns a vector with the leading/trailing white spaces removed.

Examples

1
2
3
4
5
## Not run: 
(x <- c("  talkstats.com ", "   really? ", " yeah"))
Trim(x)

## End(Not run)

trinker/qdap documentation built on Sept. 30, 2020, 6:28 p.m.