std.strrep()

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

Format

STRING
std.strrep(STRING s, INTEGER n)

Examples

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