]> Cypherpunks repositories - gostls13.git/commit
utf8: add DecodeLastRune and DecodeLastRuneInString to
authorRoger Peppe <rogpeppe@gmail.com>
Thu, 23 Sep 2010 10:33:52 +0000 (20:33 +1000)
committerRob Pike <r@golang.org>
Thu, 23 Sep 2010 10:33:52 +0000 (20:33 +1000)
commitf11271b82e123239e9263749b18b3ea9ad5c0610
treea8226261d8b90c66a90c95f9604288b71bd22caa
parent1959c3ac5bcc901115878babe74b819026de97be
utf8: add DecodeLastRune and DecodeLastRuneInString to
enable traversing rune-by-rune backwards in strings

R=r, rsc
CC=golang-dev
https://golang.org/cl/2192050
src/pkg/utf8/utf8.go
src/pkg/utf8/utf8_test.go