trim_ws: Remove leading and trailing white spaces

View source: R/transform.R

trim_wsR Documentation

Remove leading and trailing white spaces

Description

By default, trim both leading and traling white spaces unless specified

Usage

trim_ws(x, leading = FALSE, trailing = FALSE, all = FALSE, replacement = "_")

Arguments

x

a character

all

a boolean, trim non-leading/trailing white spaces as well if equals TRUE

replacement

a character to replace non-leading/trailing white spaces with


fjoe88/d8ahelper documentation built on Feb. 6, 2023, 7:55 a.m.