powered by
Takes a character and creates a string that is the character repeated len times.
len
makeNstr(char, len)
character to be repeated
number of times to repeat char.
char
A string that is char repeated len times.
paste, rep
paste
rep
# NOT RUN { makeNstr(" ", 5) # }
Run the code above in your browser using DataLab