fix #352
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
- func Trim(s string, cutset string) string
|
- func Trim(s string, cutset string) string
|
||||||
|
|
||||||
在s字符串中去除cutset指定的字符串
|
在s字符串的头部和尾部去除cutset指定的字符串
|
||||||
|
|
||||||
fmt.Printf("[%q]", strings.Trim(" !!! Achtung !!! ", "! "))
|
fmt.Printf("[%q]", strings.Trim(" !!! Achtung !!! ", "! "))
|
||||||
//Output:["Achtung"]
|
//Output:["Achtung"]
|
||||||
|
|||||||
Reference in New Issue
Block a user