Strip a string with given chars at both ends

Description

Strip a string with given chars at both ends

Usage

1
strip(x, char = " ")

Arguments

x

character, a string.

char

character to trim.

Value

character

Author(s)

Xiaobei Zhao

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.