Skip to contents

Wrap A String in Brackets

Usage

bracket(x)

Arguments

x

<character> string

Value

<character> string

Examples

bracket("XYZ")
#> [1] "[XYZ]"