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