Learn R Programming

webdeveloper (version 0.1.0)

doubleQuoteText: Add double quotes to strings.

Description

Add double quotes to strings.

Usage

doubleQuoteText(x, char_only = TRUE)

Arguments

x

A string.

char_only

TRUE/FALSE, if TRUE, adds quotes only if is.character(x) is TRUE.

Value

A string, with double quotes added.

Examples

Run this code
# NOT RUN {
doubleQuoteText("Sample quotes.")
# }

Run the code above in your browser using DataLab