modified: eBook/18.1.md

modified:   eBook/18.10.md
	modified:   eBook/18.2.md
	modified:   eBook/18.3.md
	modified:   eBook/18.6.md
	modified:   eBook/18.8.md
	modified:   eBook/18.9.md
This commit is contained in:
songleo
2016-01-03 14:43:12 +08:00
parent 0aefb4a032
commit b3550e98e3
7 changed files with 19 additions and 14 deletions

View File

@@ -34,9 +34,7 @@ for ix, ch := range str {
最快速:
```go
utf8.RuneCountInString(str)
```
`utf8.RuneCountInString(str)`
`len([]int(str)) //TBD`
@@ -47,7 +45,7 @@ for ix, ch := range str {
`Strings.Join()`(参考[章节4.7](04.7.md)
`+=`
使用`+=`
```go
str1 := "Hello "