remove_letters: Remove Letters.

remove_lettersR Documentation

Remove Letters.

Description

Remove specific single letters from the start and/or end of the input string(s).

Usage

remove_letters(
  x,
  ignore.start = c("S", "s", "N", "n", "E", "e", "W", "w"),
  ignore.end = c()
)

Arguments

x

A vector

ignore.start

Vector of letter not to exclude from the start of x

ignore.end

Vector of letter not to exclude from the end of x

Value

Polished vector

Author(s)

Leo Lahti leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

## Not run: remove_letters(x)

rOpenGov/bibliographica documentation built on April 10, 2022, 8:51 p.m.