str_squish: Remove whitespace

View source: R/str_trim.R

str_squishR Documentation

Remove whitespace

Description

Dependency-free drop-in alternative for stringr::str_squish().

Usage

str_squish(string)

Arguments

string

Input vector. Either a character vector, or something coercible to one.

Value

A character vector the same length as string.

Source

Adapted from the stringr package.


stringstatic documentation built on July 26, 2023, 5:32 p.m.