StringRepeat¶
Repeats a string n times.
Zero repetitions give the empty string, and a negative count is reported:
$ wo 'StringRepeat["abcde", -1]'
StringRepeat::intp: Positive integer expected at position 2 in StringRepeat[abcde, -1].
StringRepeat[abcde, -1]
The third argument truncates, and is checked the same way: