Learn R Programming

proustr (version 0.4.0)

pr_keep_only_alnum: Remove non alnum elements

Description

Remove non alnum elements

Usage

pr_keep_only_alnum(text, replacement = " ")

Arguments

text

a vector

replacement

what to replace the non alnum with. Defaut is " ".

Value

a vector

Examples

Run this code
# NOT RUN {
pr_keep_only_alnum("neuilly-en-thelle")
# }

Run the code above in your browser using DataLab