Skip to contents

This function encloses a string with parentheses.

Usage

encloseBr(x)

Arguments

x

A character string to enclose.

Value

A new character string with x enclosed by parentheses.

Examples

encloseBr("text") # returns "(text)"
#> [1] "(text)"