Skip to contents

Replace characters

Usage

replace_chrs(x, chrs = "\\.", replacement = " ")

Arguments

x

String.

chrs

Vector with characters to be replaced.

replacement

String with the replacement string.

Value

New string with characters replaced.

Examples

replace_chrs("467..114..")
#>   467..114.. 
#> "467  114  "