enclose | R Documentation |
This function encloses a string with specified characters on the left and the right.
enclose(x, left, right)
x |
A character string to enclose. |
left |
A character string to prepend. |
right |
A character string to append. |
A new character string with x
enclosed by left
and right
.
enclose("text", "[", "]") # returns "[text]"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.