rep_char: Repeat elements of a character vector 'times' times and...

View source: R/utils-strings.R

rep_charR Documentation

Repeat elements of a character vector times times and collapse it

Description

Repeat elements of a character vector times times and collapse it

Usage

rep_char(char, times)

Arguments

char

A character vector.

times

an integer giving the number of repetitions.

Value

A character vector.


r-lib/styler documentation built on April 10, 2024, 4 a.m.