summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/strings/Split.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/strings/Split.md')
-rw-r--r--docs/content/en/functions/strings/Split.md20
1 files changed, 8 insertions, 12 deletions
diff --git a/docs/content/en/functions/strings/Split.md b/docs/content/en/functions/strings/Split.md
index 7d15704b2..a9973ea63 100644
--- a/docs/content/en/functions/strings/Split.md
+++ b/docs/content/en/functions/strings/Split.md
@@ -1,19 +1,14 @@
---
title: strings.Split
-linkTitle: split
-description: Returns a slice of strings by splitting STRING by DELIM.
-categories: [functions]
+description: Returns a slice of strings by splitting the given string by a delimiter.
+categories: []
keywords: []
-menu:
- docs:
- parent: functions
-function:
+action:
aliases: [split]
+ related:
+ - functions/collections/Delimit
returnType: string
signatures: [strings.Split STRING DELIM]
-relatedFunctions:
- - collections.Delimit
- - strings.Split
aliases: [/functions/split]
---
@@ -24,7 +19,8 @@ Examples:
{{ split "abc" "" }} → ["a", "b", "c"]
```
-
{{% note %}}
-`split` essentially does the opposite of [delimit](/functions/collections/delimit). While `split` creates a slice from a string, `delimit` creates a string from a slice.
+The `strings.Split` function essentially does the opposite of the [`collections.Delimit`] function. While `split` creates a slice from a string, `delimit` creates a string from a slice.
+
+[`collections.Delimit`]: /functions/collections/delimit
{{% /note %}}