DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
utf8.RuneCount()
Examples using...
utf8.RuneCount()
Recent
Examples
RuneCount in Go
by GoDoc
Go
utf8.RuneCount
fmt.Println
fmt
unicode/utf8
RuneCount returns the number of runes in p. Erroneous and short encodings are treated as single runes of width 1 byte.