remove_whitespace: Remove excess white space from a character vector.

Description Usage Arguments Value Examples

Description

Replaces consecutive whitespace, leading whitespace, trailing whitespace, newlines, tabs, and carriage returns with a single white space character.

Usage

1

Arguments

.x

a vector.

Value

A character vector with excess white space removed.

Examples

1
remove_whitespace("  this is    too  much   white  space    ")

paulhendricks/queryr documentation built on May 24, 2019, 8:43 p.m.