strings.Repeat
Returns the given string repeated the given number of times.
- Syntax
- strings.Repeat COUNT STRING
- Returns
- string
{{ strings.Repeat 3 "yo" }} → yoyoyoLast updated:
October 10, 2026
:
theme: Migrate aliases to a redirects data file (b732eba6c)
Improve this page