WordRange#
func WordRange(value string, index int) RangeWordRange returns the run around a pointer position, on grapheme boundaries.
API 文档由 Go 源码生成,内容为英文。
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.