hsQuoteChr: Quote Character Strings

View source: R/string.R

hsQuoteChrR Documentation

Quote Character Strings

Description

quotes objects of type character with quoting character

Usage

hsQuoteChr(x, qchar = "'", escapeMethod = c("double", "backslash", "none"))

Arguments

x

vector or list of character strings

qchar

quoting character to be used. Default: single quote "'"

escapeMethod

one of "double", "backslash", "none" deciding how to treat the quote character if it occurs within the string to be quoted


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.