remove_special_chars: Remove Special Chars

remove_special_charsR Documentation

Remove Special Chars

Description

Remove special characters.

Usage

remove_special_chars(
  x,
  chars = c(",", ";", ":", "\\(", "\\)", "\\?", "--", "\\&"),
  niter = 5
)

Arguments

x

Character vector

chars

Characters to be removed

niter

Number of iterations

Value

Polished vector

Author(s)

Leo Lahti leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

x2 <- remove_special_chars("test;")

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