mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 00:33:31 -05:00
21 lines
423 B
Markdown
21 lines
423 B
Markdown
---
|
|
title: split
|
|
# linktitle: split
|
|
description: splits a string into substrings separated by a delimiter
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: "functions"
|
|
keywords: [strings]
|
|
signature: ["split STRING DELIM"]
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
aliases: []
|
|
---
|
|
|
|
* `{{split "tag1,tag2,tag3" "," }}` → ["tag1" "tag2" "tag3"]
|