mirror of https://github.com/gohugoio/hugo
548 B
548 B
title | description | categories | keywords | action | aliases | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
strings.Trim | Returns the given string, removing leading and trailing characters specified in the cutset. |
|
|
{{ trim "++foo--" "+-" }} → foo