mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 02:35:53 +08:00
@@ -34,7 +34,7 @@ for ix, ch := range str {
|
||||
|
||||
最快速:`utf8.RuneCountInString(str)`
|
||||
|
||||
`len([]int(str))`
|
||||
`len([]rune(str))`
|
||||
|
||||
(5)如何连接字符串:
|
||||
|
||||
|
Reference in New Issue
Block a user