rmSpaces: Remove spaces from a character vector

Description Usage Arguments Examples

View source: R/rmSpaces.R

Description

This function removes spaces (all leading and trailing ones, and unique in-between) from a character vector.

Usage

1
rmSpaces(string)

Arguments

string

a character vector

Examples

1
2
test <- c("  test ", "  mediterranean  sea  ")
rmSpaces(test)

lbraglia/yapomif documentation built on May 20, 2019, 11:26 p.m.