---
title: strings.Repeat
description: Returns INPUT repeated COUNT times.
categories: [functions]
menu:
  docs:
    parent: functions
keywords: [strings]
signature: ["strings.Repeat COUNT INPUT"]
relatedfuncs: []
---

```go-html-template
{{ strings.Repeat 3 "yo" }} → "yoyoyo"
{{ "yo" | strings.Repeat 3 }} → "yoyoyo"
```
