Add Leading/Trailing Spaces

Usage

spaste(terms, trailing = TRUE, leading = TRUE)

Arguments

terms
A character vector of terms to insert trailing and/or leading spaces.
trailing
logical. If TRUE inserts a trailing space in the terms.
leading
logical. If TRUE inserts a leading space in the terms.

Add Leading/Trailing Spaces

Value

Returns a character vector with trailing and/or leading spaces.

Description

Adds trailing and/or leading spaces to a vector of terms.

Examples

## <strong>Not run</strong>: # spaste(Top25Words) # spaste(Top25Words, FALSE) # spaste(Top25Words, trailing = TRUE, leading = FALSE) #or # spaste(Top25Words, , FALSE) # ## <strong>End(Not run)</strong>