diff options
| author | Russ Cox <rsc@golang.org> | 2009-11-04 15:19:30 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-11-04 15:19:30 -0800 |
| commit | 786174e05dd698bbddb75ff0205e5643d53f185f (patch) | |
| tree | 94e28222dec9b662825b9c883b32bc2a152130f5 /src/pkg/bytes/buffer.go | |
| parent | 33e0a3496b36d6a92c1e54bec50edeeef7c37d67 (diff) | |
| download | golang-786174e05dd698bbddb75ff0205e5643d53f185f.tar.gz | |
bytes.SplitAfter and strings.SplitAfter
most common usage is:
lines := strings.SplitAfter(text, "\n", 0)
R=r
http://go/go-review/1018042
Diffstat (limited to 'src/pkg/bytes/buffer.go')
0 files changed, 0 insertions, 0 deletions
