Takes a character and creates a string that is the character repeated len times.

makeNstr(char, len)

Arguments

char

character to be repeated

len

number of times to repeat char.

Value

A string that is char repeated len times.

Author

Charles Dupont

See also

Examples

makeNstr(" ", 5)
#> [1] "     "