repeat(s: utf8, n: i64) → utf8

Category: [strings](builtinsstrings)_

A string repeated n times (empty for n <= 0).

ParameterTypeDescriptionRemarks
sutf8The string to repeat.
ni64How many copies to concatenate.
returnsutf8n copies of s.
wcl
repeat("ab", 3)   // concatenate 3 copies → "ababab"