quoteText2 | R Documentation |
Add single quotes to strings using stringi::stri_join, useful for converting R strings into SQL formatted strings.
quoteText2(x, char_only = TRUE, excluded_chars = c("NULL"))
x |
A string. |
char_only |
TRUE/FALSE, if TRUE, adds quotes only if is.character(x) is TRUE. |
excluded_chars |
A character vector, will not add quotes if a value is in excluded_chars. |
A string, with single quotes added to match PostgreSQL string formatting.
quoteText2("Sample quotes.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.