mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-02 19:52:38 +00:00
481 B
481 B
title, linktitle, description, godocref, date, publishdate, lastmod, categories, tags, signature, workson, hugoversion, relatedfuncs, deprecated
| title | linktitle | description | godocref | date | publishdate | lastmod | categories | tags | signature | workson | hugoversion | relatedfuncs | deprecated | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| trim | Returns a slice of a passed string with all leading and trailing characters from cutset removed. | 2017-02-01 | 2017-02-01 | 2017-02-01 |
|
|
false |
trim returns a slice of the string with all leading and trailing characters contained in cutset removed.
{{ trim "++Batman--" "+-" }} → "Batman"