| layout | default |
|---|
Example demonstrates how to calculate length of string. Click here to learn more
func main() {
repositoryName := "go-examples"
fmt.Println("Length of", repositoryName,
"string is", len(repositoryName))
}Length of go-examples string is 11