hugo/docs/content/en/functions/strings.Repeat.md
2023-05-22 16:47:07 +02:00

327 B

title description categories menu keywords signature relatedfuncs
strings.Repeat Returns INPUT repeated COUNT times.
functions
docs
parent
functions
strings
strings.Repeat COUNT INPUT
{{ strings.Repeat 3 "yo" }} → "yoyoyo"
{{ "yo" | strings.Repeat 3 }} → "yoyoyo"