Repeat and join a string
strrepeat(x, n, sep = "")
x
[character] Vector of characters.
n
[integer(1)] Times the vector x is repeated.
integer(1)
sep
[character(1)] Separator to use to collapse the vector of characters.
character(1)
character(1).
strrepeat("x", 3)
## [1] "xxx"