GO Lang Program to find length of a String
Program
package main
import "fmt"
func main() {
var msg = "Welcome to oodlescoop"
fmt.Println("Length of string", msg, "is", len(msg))
}
Output
$ go run string-length.go
Length of string Welcome to oodlescoop is 21