mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-02 00:00:12 -05:00
17 lines
346 B
Markdown
17 lines
346 B
Markdown
|
---
|
||
|
title: strings.Repeat
|
||
|
description: Returns a new string consisting of zero or more copies of another string.
|
||
|
categories: []
|
||
|
keywords: []
|
||
|
action:
|
||
|
aliases: []
|
||
|
related: []
|
||
|
returnType: string
|
||
|
signatures: [strings.Repeat COUNT INPUT]
|
||
|
aliases: [/functions/strings.repeat]
|
||
|
---
|
||
|
|
||
|
```go-html-template
|
||
|
{{ strings.Repeat 3 "yo" }} → yoyoyo
|
||
|
```
|