hugo/docs/content/en/functions/strings/Repeat.md
2023-10-20 09:43:56 +02:00

445 B

title description categories keywords menu function relatedFunctions aliases
strings.Repeat Returns a new string consisting of zero or more copies of another string.
functions
docs
parent
functions
aliases returnType signatures
string
strings.Repeat COUNT INPUT
/functions/strings.repeat
{{ strings.Repeat 3 "yo" }} → "yoyoyo"
{{ "yo" | strings.Repeat 3 }} → "yoyoyo"