str_trim: Trim whitespace off a string

View source: R/trim.R

str_trimR Documentation

Trim whitespace off a string

Description

Trim whitespace off a string

Usage

str_trim(string, side = c("both", "left", "right"))

Arguments

string

Character vector of strings.

side

Side on which to remove whitespace (left, right or both).


hadley/stringb documentation built on Sept. 16, 2023, 9:11 p.m.