str_rm_punctuation: Remove and replace punctuation from strings.

Description Usage Arguments Value Examples

View source: R/text.table.R

Description

Remove and replace punctuation from strings.

Usage

1
str_rm_punctuation(x, replacement = "")

Arguments

x

A vector or string.

replacement,

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

Value

x, with punctuation removed/replaced.

Examples

1
str_rm_punctuation(c("wait, is this is a test?", "Tests: . ! ?"))

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