strrepeat: Repeat and join a string

View source: R/strrepeat.R

strrepeatR Documentation

Repeat and join a string

Description

Repeat and join a string

Usage

strrepeat(x, n, sep = "")

Arguments

x

[character]
Vector of characters.

n

[integer(1)]
Times the vector x is repeated.

sep

[character(1)]
Separator to use to collapse the vector of characters.

Value

character(1).

Examples

strrepeat("x", 3)

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to strrepeat in BBmisc...