strstrip: Trim space of a string.

Description Usage Arguments Value Author(s) Examples

View source: R/strstrip.R

Description

Trim space of a string.

Usage

1
strstrip(string, side = c("both", "left", "right"))

Arguments

string

A character vector.

side

Which side of the string to be trimed, 'both', 'left' or 'right'.

Value

Trimed vector.

Author(s)

Jian Li <rweibo@sina.com>

Examples

1
strstrip(c("\taaaa ", " bbbb    "))

tmcn documentation built on Aug. 4, 2019, 3 p.m.

Related to strstrip in tmcn...