Trim {qdap}R 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)

[Package qdap version 2.4.6 Index]