specialr: Special Character Replacement

View source: R/strings_utils.R

specialrR Documentation

Special Character Replacement

Description

Helper to replace special character.

Usage

specialr(
  string = "",
  replacement = "_",
  specials = "[\\|\\/|\\:|\\*|\\?|\\\"|'|\\<|\\>|\\|]"
)

Arguments

string

string where specials will be replaced if found.

replacement

string replacement. Default is "_".

specials

Default is '[\|\/|\:|\*|\?|\"|\'|\<|\>|\|]'.


IFC documentation built on Sept. 14, 2023, 1:08 a.m.