str_remove_quoted: Remove the quoted parts of a string.

View source: R/remove.R

str_remove_quotedR Documentation

Remove the quoted parts of a string.

Description

If any parts of a string are quoted (between quotation marks), remove those parts of the string, including the quotes. Run the examples and you'll know exactly how this function works.

Usage

str_remove_quoted(string)

Arguments

string

A character vector.

Value

A character vector.

See Also

Other removers: str_singleize(), str_trim_anything()

Examples

string <- "\"abc\"67a\'dk\'f"
cat(string)
str_remove_quoted(string)

strex documentation built on Nov. 2, 2023, 6:04 p.m.