unquote

0th

Percentile

Function unquote

Remove leading and trailing escaped quotes from character strings.

Usage
unquote(x = NULL, deep = FALSE)
Arguments
x

character vector

deep

remove all outer quotes if TRUE and only the outermost set otherwise. Single and double quotes are treated interchangeably, and matching is not checked.

Value

character vector without leading or trailing escaped quotes around it

See Also

quotes, strings, eply, help_eply

Aliases
  • unquote
Examples
# NOT RUN {
unquote(c("x", "'y'", "\"why\"", "'''z'''"))
unquote(c("x", "'y'", "\"why\"", "'''z'''"), deep = FALSE)
unquote(c("x", "'y'", "\"why\"", "'''z'''"), deep = TRUE)
# }
Documentation reproduced from package eply, version 0.1.2, License: GPL-3

Community examples

Looks like there are no examples yet.