strstrip: Trim space of a string.

Description Usage Arguments Value Author(s) Examples

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
2
3
4
## Not run: 
strstrip(c("\taaaa ", " bbbb    "))

## End(Not run)

OOmegaPPanDDa/tmcn documentation built on May 7, 2019, 8:55 p.m.