blob: 1afa0627fdf5a521e8683bef00eb0b4499d2b485 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
title: strings.Trim
description: Returns the given string, removing leading and trailing characters specified in the cutset.
categories: []
keywords: []
params:
functions_and_methods:
aliases: [trim]
returnType: string
signatures: [strings.Trim INPUT CUTSET]
aliases: [/functions/trim]
---
```go-html-template
{{ trim "++foo--" "+-" }} → foo
```
|