trim_whitespace: Remove trailing white spaces from a string

Description Usage Arguments Value

View source: R/trim_whitespace.R

Description

trim_whitespace removes trailing white spaces from a character string (or each string in a vector of character strings). Non-trailing white spaces will be preserved.

Usage

1

Arguments

string

A character string or vector of character strings

Value

A character string or vector of character strings.


rstudio/reportsWS documentation built on May 28, 2019, 5:42 a.m.