We've been making changes to how we organize and display our docs. Our work isn't done but we'd love your feedback.

std.strrep()

Repeat the given string n times. If n is a negative value, it is taken to mean zero.

Format

STRING
strrep(STRING s, INTEGER n)

Examples

1
set var.s = std.strrep("abc", 3); # produces "abcabcabc"