shithub: hugo

ref: 6959370835734d37d488136504db68b5b9a3277e
dir: /docs/content/en/functions/strings.Repeat.md/

View raw version
---
title: strings.Repeat
# linktitle:
description: Returns INPUT repeated COUNT times.
godocref:
date: 2018-05-31
publishdate: 2018-05-31
lastmod: 2018-05-31
categories: [functions]
menu:
  docs:
    parent: "functions"
keywords: [strings]
signature: ["strings.Repeat COUNT INPUT"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
---

```
{{ strings.Repeat 3 "yo" }} → "yoyoyo"
{{ "yo" | strings.Repeat 3 }} → "yoyoyo"
```