This commit is contained in:
astaxie
2014-08-31 00:29:52 +08:00
parent 9b07e7f75d
commit bfb8dcaff3

View File

@@ -65,7 +65,7 @@
- func Trim(s string, cutset string) string
在s字符串去除cutset指定的字符串
在s字符串的头部和尾部去除cutset指定的字符串
fmt.Printf("[%q]", strings.Trim(" !!! Achtung !!! ", "! "))
//Output:["Achtung"]