DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
utf8.RuneLen()
Examples using...
utf8.RuneLen()
Recent
Examples
RuneLen in Go
by GoDoc
Go
utf8.RuneLen
fmt.Println
fmt
unicode/utf8
RuneLen returns the number of bytes required to encode the rune. It returns -1 if the rune is not a valid value to encode in UTF-8.