wrap_str: Wrap string by other strings

Description Usage Arguments

View source: R/helpers.R

Description

Wrap string by other strings

Usage

1
wrap_str(vector, left = "(", right = ")")

Arguments

vector

A character vector. Elements to be wrapped.

left

A string. String pasted to the left of each element.

right

A string. String pasted to the right of each vector.


clarabicalho/replica documentation built on Nov. 4, 2019, 8:54 a.m.