encloseBr: Enclose String with Brackets

View source: R/character.R

encloseBrR Documentation

Enclose String with Brackets

Description

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)"

FastUtils documentation built on Sept. 11, 2024, 5:13 p.m.