summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/replace.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/replace.md')
-rw-r--r--docs/content/en/functions/replace.md9
1 files changed, 1 insertions, 8 deletions
diff --git a/docs/content/en/functions/replace.md b/docs/content/en/functions/replace.md
index 36e392015..fea92ab68 100644
--- a/docs/content/en/functions/replace.md
+++ b/docs/content/en/functions/replace.md
@@ -1,22 +1,15 @@
---
title: replace
description: Replaces all occurrences of the search string with the replacement string.
-date: 2017-02-01
-publishdate: 2017-02-01
-lastmod: 2020-09-07
categories: [functions]
menu:
docs:
- parent: "functions"
+ parent: functions
keywords: [replace]
signature:
- "replace INPUT OLD NEW [LIMIT]"
- "strings.Replace INPUT OLD NEW [LIMIT]"
-workson: []
-hugoversion:
relatedfuncs: [replaceRE]
-deprecated: false
-aliases: []
---
Replace returns a copy of `INPUT` with all occurrences of `OLD` replaced with `NEW`.