creates a string that is a repeat of a substring
Takes a character and creates a string that is the character repeated len
times.
makeNstr(char, len)
char
: character to be repeatedlen
: number of times to repeat char
.A string that is char
repeated len
times.
Charles Dupont
paste
, rep
makeNstr(" ", 5)