str_rm_non_alphanumeric: Remove and replace non-alphanumeric characters from strings.

Description Usage Arguments Value Examples

View source: R/text.table.R

Description

Remove and replace non-alphanumeric characters from strings.

Usage

1
str_rm_non_alphanumeric(x, replacement = " ")

Arguments

x

A vector or string.

replacement,

A string to replace the numbers with, defaults to " ".

Value

x, with non-alphanumeric (A-z, 0-9) characters removed/replaced.

Examples

1
str_rm_non_alphanumeric(c("test 67890 * % $ "))

textTools documentation built on Feb. 5, 2021, 5:07 p.m.