WordRange#
func WordRange(value string, index int) RangeWordRange returns the run around a pointer position, on grapheme boundaries.
type Range struct {
Start int
End int
}Range is a half-open rune range.
WordRange#func WordRange(value string, index int) RangeWordRange returns the run around a pointer position, on grapheme boundaries.