Trim: Remove Leading/Trailing White Space

TrimR Documentation

Remove Leading/Trailing White Space

Description

Remove leading/trailing white space.

Usage

Trim(x)

Arguments

x

The text variable.

Value

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

Examples

## Not run: 
(x <- c("  talkstats.com ", "   really? ", " yeah"))
Trim(x)

## End(Not run)

qdap documentation built on May 31, 2023, 5:20 p.m.

Related to Trim in qdap...