strip_spaces: Remove Redundant Spaces

Description Usage Arguments Value Examples

View source: R/utils.R

Description

This function removes redundant spaces from character vectors

Usage

1

Arguments

x

character vector

Value

character vector without trailing or multiple spaces

Examples

1
stopifnot(confidence:::strip_spaces(" Hello  World  ") == "Hello World")

confidence documentation built on July 4, 2017, 9:44 a.m.