powered by
Takes a character and creates a string that is the character repeated len times.
len
makeNstr(char, len)
A string that is char repeated len times.
char
paste, rep
paste
rep
makeNstr(" ", 5) # \dontshow{ if(makeNstr(" ", 5) != " ") stop("makeNstr failed test") # }
Run the code above in your browser using DataLab