Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

strrepeat

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

Miscellaneous Helper Functions for B. Bischl

v1.11
BSD_2_clause + file LICENSE
Authors
Bernd Bischl [aut, cre], Michel Lang [aut], Jakob Bossek [aut], Daniel Horn [aut], Jakob Richter [aut], Dirk Surmann [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.