R/character.R
encloseBr.Rd
This function encloses a string with parentheses.
encloseBr(x)
A character string to enclose.
A new character string with x enclosed by parentheses.
x
encloseBr("text") # returns "(text)" #> [1] "(text)"