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.


styler documentation built on Aug. 29, 2023, 5:10 p.m.