strings.Trim
Returns the given string, removing leading and trailing characters specified in the cutset.
- Syntax
- strings.Trim STRING CUTSET
- Returns
- string
- Alias
- trim
{{ trim "++foo--" "+-" }} → fooLast updated:
October 10, 2026
:
theme: Migrate aliases to a redirects data file (b732eba6c)
Improve this page