filesstrings (version 0.3.2)

RemoveQuoted: 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

RemoveQuoted(string)

Arguments

string
A character vector.

Value

A character vector.

Examples

Run this code
string <- "\"abc\"67a\'dk\'f"
cat(string)
RemoveQuoted(string)

Run the code above in your browser using DataCamp Workspace