Repeating a string n times and returning a concatenated character vector.

repChar(x, n, sep = "")

Arguments

x

string to repeat

n

integer

sep

separator between repetitions

Value

character vector