strings: Add IndexFunc example

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/42370043
1 file changed