Description

IndexRune interprets s as a sequence of UTF-8-encoded Unicode code points. It returns the byte index of the first occurrence in s of the given rune. It returns -1 if rune is not present in s.

IndexRune is referenced in 109 repositories

github.com/golang/go github.com/jbowles/go_lexer github.com/iNamik/go_lexer

...