str_censor: Convert all characters in a string to hyphens

Description Usage Arguments Value Examples

Description

Convert all characters in a string to hyphens

Usage

1

Arguments

xs

a character vector

Value

a vector with the same number of strings (and characters) as the input, but with all characters converted to hyphens

Examples

1
2
str_censor(c("", "a", "ab"))
# c("", "-", "--")

tjmahr/retrace documentation built on May 31, 2019, 3:41 p.m.