Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


IFC (version 0.2.1)

specialr: 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 '[\|\/|\:|\*|\?|\"|\'|\<|\>|\|]'.