StringRepeat
StringRepeat["str",n]
creates a string consisting of "str" repeated n times.
StringRepeat["str",n,max]
creates a string consisting of up to n copies of "str", truncated to be of maximum total length at most max.
Examples
open allclose all
Wolfram Research (2015), StringRepeat, Wolfram Language function, https://reference.wolfram.com/language/ref/StringRepeat.html (updated 2020).
Text
Wolfram Research (2015), StringRepeat, Wolfram Language function, https://reference.wolfram.com/language/ref/StringRepeat.html (updated 2020).
CMS
Wolfram Language. 2015. "StringRepeat." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/StringRepeat.html.
APA
Wolfram Language. (2015). StringRepeat. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StringRepeat.html